Backend deployed to Heroku
Running the server locally:
-
Clone this repo.
-
npm installoryarn installto install all required dependencies -
Create .env file with environment variables.
DEV_DATABASE_URL=<address of your PostgreSQL database for development> TEST_DATABASE_URL=<address of your PostgreSQL database to run tests against> JWT_SECRET=<sequence of characters used to sign web tokens> -
Run
knex migrate:latestto create the database tables -
Run
seed:runto seed data into the database.
-
npm startto start the server with node. -
npm run devto start the local server using nodemon. -
npm testto start server using testing environment. -
npm run coverageto get test coverage. -
npm run lintto run linter and return linting errors. -
npm run lint:fixto run linter and fix linting errors. -
npm run formatto format code with prettier
See Frontend Documentation for details on the frontend of our project.
See iOS Documentation for details on the iOS implementation of our project.
Please read through the Code of Conduct and Contributing Guidelines before contributing to this repo.