Skip to content

shinjuku-lt/shinjuku-lt-backend

Repository files navigation

shinjuku-lt-backend CircleCI

shinjuku-lt-backend is backend service of our website. shinjuku-lt-backend provides REST API.

  • for more details. show our API DOC

Quick Start

shinjuku-lt-backend generally works like other express apps. So only you need is node.js LTS.

$ node -v
> v10.13.0

$ git clone [email protected]:{YOUR_FORKED_REPOSITORY}/shinjuku-lt-backend.git

$ cd shinjuku-lt-backend

$ npm install

# run with environment variables
$ env DB_USER={DB_USER} DB_PASS={DB_PASS} DB_PORT={DB_PORT} DB_HOST={DB_HOST} DB_NAME={DB_NAME} npm start

# health check
$ curl http://localhost:3000/health
> {"message":"woooooooooooo."}⏎

note: If node.js is not yet installed. Prease install it first.