Back-end for GrandQuest
- Node.js
- Express
- PostgreS
- Mocha/Chai
- Redis
- AWS SDK
- Run
npm i - Create a
.envfile in the root of your project directory and then add the following variables:
- NODE_ENV
- REDIS_HOST
- DB_NAME
- AWS_BUCKET_NAME
- AWS_ACCESS_KEY
- AWS_SECRET_ACCESS_KEY
- BCRYPT_SALT
- JWT_KEY
npm run dev
- Create a
.env.testfile in the root of your project directory and add the variables required in.env(making changes to fit the tests, of course. don't run database tests in your development database!) - run
mocha test