In this blog we will see what are the differences between
Postman's mock server and JSON Server.Both are used to setup fake
api's so that front end developers can start working right away
without actual need of backend code. (Ofcourse until real backend
is ready for use). Though, according to me both has it's pros and
cons,either of them is good enough to start your front development
work in most cases. Do share your experiences if any in comments
or in email
If you are new to Postman,JSON Server etc do refer my
blogs.Links below
1)Basics Of JSON Server
2) Customizing JSON Server
3) Postman Mock Server Basics
4) Postman Mock Server- Getting API Key
5) Creating API through Postman
JSON Server is a command line tool and super easy to use even for people who don’t spend most of the day at their terminals. You can get a full fake REST API with zero coding in less than 30 seconds (seriously). It all comes down to letting you serve JSON from your file system via a local server.
You can also create mock server using Postman. Let's look at the Pro's and Cons of this approach
And that's it. Hope you undertood the difference between Postman's mock server and JSON server. Each has it own pros and cons like anything else .Just use the appropriate one based on your needs.Email me at "techspacedeck@gmail.com" incase you have queries. Alternatively, you can fill the "CONTACT" form or drop a comment below