“db.json” Kode Jawaban

db.json

json-server --watch db.json
Disgusted Dragonfly

server json

npm install -g json-server
Disgusted Dragonfly

server json

{
  "posts": [
    { "id": 1, "title": "json-server", "author": "typicode" }
  ],
  "comments": [
    { "id": 1, "body": "some comment", "postId": 1 }
  ],
  "profile": { "name": "typicode" }
}
Disgusted Dragonfly

Jawaban yang mirip dengan “db.json”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya