Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 770 Bytes

README.md

File metadata and controls

49 lines (38 loc) · 770 Bytes

Node JS Exercise

Showing a list of settings on the /settings route.

Requirements

Global

Environment file

cp .env.default .env

You can customize the HOST and the PORT of the application. The default URL is: http://localhost:8042.

Commands

  • Install dependencies
yarn
  • Start dev
yarn start

You can display the settings on http://localhost:8042/settings.

  • Check ESLint
yarn lint
  • Run tests
yarn test
  • Production version with Docker
# Build the image
./bin/build.sh

# Run
./bin/run.sh

You can display the settings on http://localhost:8080/settings.