Often you may be building a demo website, or practice project and you need some data for it. As an example, say you're building a demo fashion webs...
For further actions, you may consider blocking this person and/or reporting abuse
There is a way to create a fake JWT to prototype the authentication?
Yes, it's an express server. You can add custom routes like any express server to generate a valid JWT for the connecting user. And add a JWT validation middleware to protect the other endpoints.
I'm pretty sure there will be but I haven't done that myself. It's something to investigate for sure!
Nice article, #Back project may help you to setup api with JWT. #Back automatically convert app database table to API endpoint, please try at
github.com/WeAreKins/BackNode/rele...
Hi, nice article. Few weeks ago I discovered DevApiService, it’s a free online tool for mockup APIs or fake APIs. It’s very easy to use and you can mockup API in less than one minute.
Ah, very useful. I've been using
http-server
to do something similar, but this is a better fit for my needs. Thanks!This is awesome. I'll definitely try this on my upcoming project.
This is very useful. I could use a fake Api and server to a demo.
Get to know the moclojer project?
github.com/moclojer/moclojer
Is json server suitable for production environment?
no, just for practice/demo purposes
No. It's used to mock APIs. Don't use this on production
Good tutorial! I was using JSON Server a lot until I became confident using NodeJS.
Try this github.com/avin/fake-api-middleware
Thanks for this short and useful application. I dont get the page localhost:3000/ shows... Did it come with json server?