Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 623 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 623 Bytes

JSON Server Multiple Files/Resources

JSON Server: https://github.com/typicode/json-server/

Install

Install Global

npm install -g json-server

Install local

npm install

Structure

├── README.md
├── fakeapis
│   ├── index.js
│   ├── posts.json
│   └── users.json
├── package-lock.json
├── package.json
└── screenshot.png

Run JSON server

  • npm start: Start json server multiple files

Screen shot

alt text

Note: Check fakeapis/index.js and *.json for more details.