1.0.0 • Published 7 years ago
create-json-server v1.0.0
create-json-server
A simple wrapper of json-server.
This tool is based on Create a Fake REST API with JSON-Server
Setting Up
Type the following in Terminal:
npm installThis will install all necessities of this project.
Run the App
To run json-server, type:
npm run json:serverThis will run json-server on port 8090. You can simply change the default to whatever you want by editing line 7 in package.json.
You will now see json-server running on port 8090. Open your browser and type http://127.0.0.1:8090.

API Requests
You can now send AJAX requests to the fake server. It should respond properly.
Or you could test it via Postman.

A short but detailed tutorial is available in this video.
1.0.0
7 years ago