Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to install json server

# Install JSON Server Globally
npm install -g json-server

# #Install JSON Server Locally
npm install json-server

# Check JSON Server version
json-server --version

# Run JSON server
json-server --watch db.json

# Change the server PORT
json-server --watch db.json --port 4000
 
PREVIOUS NEXT
Tagged: #install #json #server
ADD COMMENT
Topic
Name
5+1 =