Skip to content

otroboe/node-js-exercise

Repository files navigation

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.

Releases

No releases published

Packages

No packages published