This is a simple REST API application built with NestJS, using MongoDB for data storage and RabbitMQ for messaging.
Before you start, ensure you have the following installed:
- Node.js (v20 or later)
- Yarn (v1.22 or later)
MongoDB is a NoSQL database used to store our application data.
-
Windows:
Download the MongoDB installer from the official website and follow the installation instructions.
-
Linux:
Follow the instructions for your specific Linux distribution on the official website.
$ yarn install# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov