An open API service indexing awesome lists of open source software.

https://github.com/kimobrian/json-server

Fake json server using faker and json-server
https://github.com/kimobrian/json-server

Last synced: 23 days ago
JSON representation

Fake json server using faker and json-server

Awesome Lists containing this project

README

        

# JSON-SERVER
Fake json server using faker and json-server

Globally install json-server

```
npm install json-server -g #or yarn global add json-server
```
Run with `json-server customers.js` or `yarn start`

Change in `package.json` the port value to run on another port

Incase of an error `Error: Cannot find module 'semver'`. Delete `node_modules` with `rm -rf node_modules` and `npm install` again, then run with `npm start` otherwise if you installed packages using `yarn`, run the app with `yarn start`