This is the API source code. It is written in TypeScript. It is a stand alone package, so please run npm install
in this directory before all else.
To build API source code (generates JS output in ./dist
folder):
npm run build
# or
npm run build:watch # so that you can spot errors in real time, as you develop
To run unit tests:
npm run test
To lint API source code against project defined ESLint rules:
npm run lint
# or
npm run lint:fix # make ESLint fix errors which can be automatically fixed
There are setup scripts available to run MongoDB locally as a Docker container. For more details, see README in ./_docker
folder.
You can find more details about the structure of the code base, and a discussion of some architectural decisions in _docs/README file.