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
- Host: GitHub
- URL: https://github.com/kimobrian/json-server
- Owner: kimobrian
- License: gpl-3.0
- Created: 2017-07-31T16:50:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T17:15:05.000Z (almost 8 years ago)
- Last Synced: 2025-05-15T23:13:08.462Z (23 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON-SERVER
Fake json server using faker and json-serverGlobally 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`