- Github account
- Node
- Heroku
- Account: If you do not have a Heroku account, you can create one at - https://signup.heroku.com/
- CLI: In case you haven't installed it already - https://devcenter.heroku.com/articles/heroku-cli
- Express
- Jest
- Chai
- Fork the repository
https://github.com/mavericks-consulting/ci-cd-workshop-junior-dev
- Clone your forked version
- Run
npm install
from the root folder
- Run unit tests with
npm run test
- Run integration tests with
npm run integration-test
- To start the server, run
npm start
- The server runs on port 3000 by default, you can change it in
index.js
- We are using CircleCI for this project
- The pipeline config is in
.circleci/
in the root folder - Instructions to set up Circle CI are here: