otaviojacobi / trip-pin-points-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Trip Pin Points Authorization Service

AVAILABLE AT: https://trip-pin-points-auth.com

API Documentation: https://app.swaggerhub.com/apis-docs/otaviojacobi/trip-pin-points-auth/1.0.1

Setting up your local environment

  • In the project root run npm install to install all dependencies
  • Start the postgresql database
  • Set a the following environment variables pointing to your postgresql db
    RDS_USERNAME=postgres_username_here
    RDS_PASSWORD=postgres_password_here
    RDS_HOSTNAME=localhost
    RDS_PORT=5432
    RDS_DB_NAME=postges_db_name_here
    

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3001 to view it in the browser.

npm test

Launches all unit tests, test coverage and linter.

npm run test-no-cov

Launches unit tests with tape and linter, no coverage.

npm run test-coverage

Launches unit test coverage.

npm run lint

Launches only linter.

npm run fix-eslint

Launches linter fix mode.

About


Languages

Language:JavaScript 100.0%