Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.31 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.31 KB

Build Status

Trip Pin Points Authorization Service

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.