- NodeJS
- TypeScript
- Docker
- For the repository, and clone it to your local machine.
- Run
docker-compose up -d
to start development and tests databases. Feel free to adjust thedocker-compose.yml
file to your needs if the specified ports (5433
, and5434
) are already in use. - Run
npm install
to install all the dependencies. - Run
npm run prisma:migrate:dev
to apply the migrations to the development database. - Run
npm run dev
to start the development server.
- Make sure you have the test database running (see Setup#2).
- Run
npm run prisma:migrate:test
to apply the migrations to the test database. - Run
npm run test
to run the tests.
Search for TODO:
in the code to find the tasks that need to be completed.
Hint: Start from the ones defined in .env
and .env.test