/mongo_nest_rabbit

Project to study nestJS, mongo image storage, rabbitMQ and email service

Primary LanguageTypeScript

Mongo nest rabbitMQ Docker Typescript

  • POST /api/users
  • GET /api/user/{userId}
  • GET /api/user/{userId}/avatar
  • DELETE /api/user/{userId}/avatar

💻 Requirements

  • Node 18.14.0
  • MongoDB 4.4 and above
  • RabbitMQ 3.7 and above
  • [Optional] Docker

🚀 Installing

steps:

Download the project, open the folder in command line, then run:

npm install

Ensure you have RabbitMQ and MongoDB running. Alternative to start RabbitMQ and MongoDB instances.

sudo docker compose up

☕ Run

To run the project, open the project folder and run:

npm run start