/U-night-backend_old

Backend for the U-night app

Primary LanguageJavaScriptMIT LicenseMIT

U-night-backend

Back-end for the U-night app, LP, IoT.

How to start app?

  1. Install dependencies
    npm i

  2. Start on dev env.
    npm start

  3. Start on prod env.
    npm run prod

Tests

  1. Start test-server

    npm run test-server

  2. Start tests

    npm test

Additional scripts:

  1. Lint code (ESLint)

npm run lint

  1. Fix warnings and errors by ESlint

npm run fixcode