Skip to content

Repository files navigation

notification-system

HNG Task 4 - Distributed Notification System with Microservices

Services

  • API Gateway (NodeJS/Fastify) - Port 3000
  • Email Service (NestJS) - Port 3001
  • User Service (NestJS) - Port 3002
  • Push Service (Python/FastAPI) - Port 3003
  • Template Service (Python/FastAPI) - Port 3004

Quick Start

Prerequisites

  • Docker & Docker Compose
  • Node.js 20+
  • Python 3.11+

Setup

# Clone and setup

git clone https://github.com/CodeEnthusiast09/notification-system.git
cd notification-system
npm run setup

# Update .env with your credentials

cp .env.example .env

# Start all services

npm run dev

Access Points

Development

Start individual service

npm run gateway # API Gateway
npm run email # Email Service
npm run user # User Service
npm run push # Push Service
npm run template # Template Service

View logs

npm run logs

Stop services

npm run down

Project Structure

notification-system/
├── services/ # Microservices
├── shared/ # Shared code
├── infrastructure/ # Docker & scripts
├── docs/ # Documentation
└── docker-compose.yml

Team

  • NodeJS Developer: API Gateway
  • NestJS Developer: Email & User Services
  • Python Developer: Push & Template Services

About

HNG Task 4 - Distributed Notification System with Microservices

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages