npm install json-server --prefix .
$npx json-server db.json
JSON Server started on PORT :3000
Press CTRL-C to stop
Watching db.json...
( ˶ˆ ᗜ ˆ˵ )
Index:
http://localhost:3000/
Static files:
Serving ./public directory if it exists
Endpoints:
http://localhost:3000/posts
http://localhost:3000/comments
http://localhost:3000/profile
HOW TO INSTALL
- install fly.iohttps://fly.io/docs/hands-on/install-flyctl/
안되면 sudo 로 install 하고 명령어는 flyctl
$fly auth login