Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Aqtoni/ordering-app

Repository files navigation

NestJS MongoDB RabbitMQ Docker

A microservices application using RabbitMQ as our message broker Application based on NestJS, where MongoDB a database. All this is packed in Docker-Compose, in Docker we use bitnami/mongodb. All the most interesting is in the documentation. 📗

NestJS
NestJS
PostgresSQL
MongoDB
TypeORM
RabbitMQ
Docker
Docker

Key Features

  • Authentication and Authorization
    • Registration, create user
    • Login
  • Orders
    • Create a orders with fields product name price and phone number
    • Update order
    • Delete order

API Usage

Check Orders API Documentation for more info.

Installation and launch method

Rename .env file, and set your variables for example:

MONGODB_URI=mongodb://root:password123@mongodb-primary:27017/
PORT=3000
RABBIT_MQ_URI=amqp://rabbitmq:5672
RABBIT_MQ_BILLING_QUEUE=billing
JWT_EXPIRATION=3600
JWT_SECRET=you-super-secret😏
RABBIT_MQ_AUTH_QUEUE=auth

Using Docker

Follow the command:

docker-compose up
# -d - For launch in the background
# --build - for build containers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published