This project demonstrates a Microservices architecture built using NestJS framework. It consists of three main services: User, Product, and the Backend Gateway. This project structure provides a scalable foundation for building applications that require separate services for handling different aspects of the system.
This project was demonstrated and explained in detail on my YouTube Channel.
- Project Overview
- Microservices Structure
- Getting Started
- Installation
- Usage
- Screenshots
- Video Explanation
- License
This project is structured to show the benefits of the Microservices architecture. Each service runs independently, managing its data and tasks, and communicates with other services through HTTP and message queues (or similar protocols). This setup allows easy scaling, modularity, and separate deployment for each service, making it ideal for complex applications with varied functionalities.
Handles all functionalities related to user management, such as:
- User Registration
- User Login and Authentication
- User Profile Management
Manages all actions related to products, including:
- Product Creation
- Product Listing and Details
- Inventory and Stock Management
Acts as a central entry point, routing requests to the appropriate microservice and handling cross-service communication. It includes:
- Central API Gateway for routing and authentication
- Communication bridge between User and Product services
Ensure you have the following installed:
- Node.js (>=14.x)
- NestJS CLI
- Docker (optional, for containerization)
- Clone the repository:
git clone https://github.com/MahmoudAbdullahAnani/Microservice-YouTube.git cd microservices-nestjs