Answers for "json server"

12

json server

json-server --watch db.json
Posted by: Guest on March-04-2020
5

json server

npm install -g json-server
Posted by: Guest on March-04-2020
1

json-server

#Install JSON Server
npm install -g json-server

#Start JSON Server
json-server --watch db.json
Posted by: Guest on January-07-2021
0

json server

npm i --save-dev json-server

<add db.json file>
npx json-server --watch db.json

# to change port 
npx json-server --watch db.json --port 8000
Posted by: Guest on July-27-2021
4

json server

{
  "posts": [
    { "id": 1, "title": "json-server", "author": "typicode" }
  ],
  "comments": [
    { "id": 1, "body": "some comment", "postId": 1 }
  ],
  "profile": { "name": "typicode" }
}
Posted by: Guest on March-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language