Note: Make sure you have the node and npm versions listed in package.json
- Install dependencies:
npm install
- Start a dev server server:
npm run dev
(watches for changes and restarts automatically ) - ...or start a production server:
npm start
When running locally, you can use a .env file.
See the sample.env
file for all required environment variables.
Note: Make sure you have docker installed
-
Run
npm install
-
Run
npm run docker:dev
Note: Make sure you have docker installed
-
Run
npm install
-
Run
npm run docker
This project has a Jest test suite.
To run tests: npm test
This project uses ESLint and Prettier for code formatting.
To run linters: npm run lint
or npm run lint:fix
to fix errors automatically
Husky and lint-staged will enforce lint on commits.