Skip to content
Nikeshchaudhary52494Public

About

Microfeed — A microservices-based social feed application built with Spring Boot, PostgreSQL, RabbitMQ, and Nginx for API gateway routing. Each service manages its own database, ensuring scalability and modularity.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Microfeed

Microfeed is a microservices-based social feed application built with Spring Boot, PostgreSQL, RabbitMQ, and Nginx as an API gateway.
Each microservice manages its own database, ensuring scalability, modularity, and fault isolation.

🚀 Features

  • Authentication Service — Manages user registration and login.
  • User Profile Service — Handles user profile creation, updates, and retrieval.
  • Post Service — Allows users to create, update, and fetch posts.
  • RabbitMQ — Enables asynchronous communication between microservices.
  • Nginx API Gateway — Routes incoming HTTP requests to the appropriate microservice.
  • Dedicated PostgreSQL Database per Service — Ensures strong separation of concerns.

System Architecture

System Architecture

🐳 Running with Docker Compose

1️⃣ Prerequisites

2️⃣ Start All Services

docker-compose up --build

3️⃣ Access Services

  • Nginx API Gateway → http://localhost

  • RabbitMQ Management → http://localhost:15672 (user: admin, pass: admin)

  • PostgreSQL Databases → Accessible via their respective ports:

    • Auth DB: localhost:5433
    • User Profile DB: localhost:5434
    • Post DB: localhost:5435

🛑 Stopping Services

docker-compose down

🧹 Clean Up (Remove Volumes & Images)

docker-compose down -v --rmi all

About

Microfeed — A microservices-based social feed application built with Spring Boot, PostgreSQL, RabbitMQ, and Nginx for API gateway routing. Each service manages its own database, ensuring scalability and modularity.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages