How to run JSON Server on a local project folder

Simply run the following command Please note that I’ve set the port number to 3001 instead of the default 3000 as react js uses the port number 3000 . Put db.json file in the root of your react js project with some json data. Then those data can be accessible via this link: http://localhost:3001/json_root/ where …

How to run JSON Server on a local project folder Read More »