Skip to content

parc02/parc02-json-server

Repository files navigation

parc02-json-server

LGTM image

INSTALL JSON-SERVER

npm install json-server --prefix .

RUN JSON-SERVER

$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.io

https://fly.io/docs/hands-on/install-flyctl/

안되면 sudo 로 install 하고  명령어는 flyctl
  • Launch fly.io image

  • Sign in

$fly auth login
  • fly.toml 수정 image

  • flyctl deploy

  • 출력화면 image

  • machines-> stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published