Horje
json server Code Example
json server
json-server --watch db.json
Source: github.com
json server
npm install -g json-server
Source: github.com
json-server
#Install JSON Server
npm install -g json-server

#Start JSON Server
json-server --watch db.json
Source: github.com
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
json server
{
  "posts": [
    { "id": 1, "title": "json-server", "author": "typicode" }
  ],
  "comments": [
    { "id": 1, "body": "some comment", "postId": 1 }
  ],
  "profile": { "name": "typicode" }
}
Source: github.com




Shell

Related
get my ip address linux Code Example get my ip address linux Code Example
powershell check if software is installed Code Example powershell check if software is installed Code Example
join docker swarm Code Example join docker swarm Code Example
github add directory to repository Code Example github add directory to repository Code Example
get public ip linux Code Example get public ip linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11