Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // file db-basic.json
- "books":[
- {
- "title":"book 1",
- "price":"125.00"
- },
- {
- "title":"book 2",
- "price":"300"
- }
- ]
- }
- //--run json server on port 4001 and delay with 2s
- json-server --watch ./dev/js/db-basic.json -p 4001 --delay 2000
Add Comment
Please, Sign In to add comment