Created
April 13, 2020 15:07
-
-
Save javascripto/ef4500db0ea9414824fcf786ad8349e6 to your computer and use it in GitHub Desktop.
JSON Server fake backend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "json-db", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "postinstall": "if [ ! -f db.json ]; then echo '{\n \"products\": []\n}' > db.json; fi", | |
| "start": "json-server --watch db.json --port 3001" | |
| }, | |
| "keywords": [], | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "json-server": "^0.16.1" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment