Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
Source by github.com #
 
PREVIOUS NEXT
Tagged: #json #server
ADD COMMENT
Topic
Name
9+4 =