Backend deployed to Heroku
Running the server locally:
-
Clone this repo.
-
npm install
oryarn install
to 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:latest
to create the database tables -
Run
seed:run
to seed data into the database.
-
npm start
to start the server with node. -
npm run dev
to start the local server using nodemon. -
npm test
to start server using testing environment. -
npm run coverage
to get test coverage. -
npm run lint
to run linter and return linting errors. -
npm run lint:fix
to run linter and fix linting errors. -
npm run format
to 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.