Skip to content

huseynaligadirov/nestjs-microservice

Repository files navigation

🐳 Microservices Docker Setup

📋 System Requirements

  • Any operating system that supports Docker
  • Minimum 1GB free RAM and 1 vCPU core for a smooth experience

⚙️ Prerequisites

🚀 How to Run

  1. Clone this repository

  2. Copy .env.example to .env:

  3. Edit the .env file with appropriate values

  4. Build the app:

    docker compose build
  5. Start the services using Docker Compose:

    docker compose up -d

🔍 How to Monitor

  • View container status:

    docker compose ps -a
  • View live logs:

    docker compose logs -tf
  • Stop and remove everything, including volumes:

    docker compose down --volumes

🔍 How to Use

  • Detailed information about API endoints have been given in Endpoints.md file

  • To run tests use command below given

    yarn test

💡 Tip: Make sure your ports are not in use by other applications before starting the containers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published