- Clone the repository
- Install nvm (node version manager)
- Run
nvm install
to install the correct node version - Install dependencies with
npm install
(it will create.env
file if it doesn't exist) - Install docker and docker-compose
- Run
docker-compose up -d
to start the MongoDB database
npm run build
npm run start
After running the project, you can access the API at http://localhost:3000
You can import the postman collection from the file cqrs.postman_collection.json to test the API