This API handles X
- Install dependencies:
yarn
- Boot PostgreSQL:
docker-compose up
- Update your
.env file
with the required keys - Migrate your local DB:
knex migrate:latest --env development
- Seed your local DB:
knex seed:run --env development
- Ensure all tests pass:
yarn test
- Start the development server:
yarn run start:development
NodeJS
yarn
Docker
Our test suite is divided into four different yarn scripts:
yarn lint
: this will lint the codebaseyarn test:integration
: this will run all integration testsyarn test
: this will lint the codebase, run all tests
See this environments list for all Jenkins jobs.
Every stage (develop
, staging
, production
) has a
corresponding deployment branch (develop
, staging
and master
).
On each production deploy, the version should also be bumped (see Versioning below).
We use SemVer for versioning. For the versions available, see the tags on this repository.
This is achieved using npm version
.
Example usage: npm version patch
This will:
- Bump the version in
package.json
- Create a new git tag
- Create a new commit
Afterwards, push the tag to BitBucket as well: git push --tags
.
- Anthony Madhvani - Initial work - [email protected]
- Robin Houdmeyers - Initial work - [email protected]