All projects
2026Backend

LMS Microservices

College7th semester - Major Project 1
LMS microservices architectureClientReact + TypeScriptAPI GatewayNestJS · auth · routingCommunicationWebRTC, chat, forumsUserAuth, rolesFileUpload, downloadAI/MLRecommendationsCourseContent, enrolmentAssessmentQuizzesEmailTransactionalRedisCache, sessionsRabbitMQMessage queueMongoDBDocumentsPostgreSQLRelationalMinIOObject storage
Seven services behind one NestJS gateway. RabbitMQ carries asynchronous work, gRPC carries typed request-response, and Redis holds shared state.

Overview

A learning management system split across eight independently deployable services -- users, courses, assessments, files, communication, notifications, recommendations and analytics -- behind a NestJS API gateway, with a React and Vite client on the front.

Role

Backend and microservices

Challenges

One deployable was never going to hold up. Assessment submission, live course communication, file delivery and analytics all have different scaling and failure profiles, and a single Node process couples them: a slow analytics query should not be able to stall a student"s file upload. There is also no obvious owner for a monolith this size once more than one person is maintaining it.

Solutions

Eight services, each with its own model and its own failure domain, fronted by a NestJS gateway that terminates auth with a JWT guard. Inter-service traffic is split by what it is rather than sent through one queue: RabbitMQ for asynchronous work and fan-out, gRPC over proto contracts for request-response calls that need a typed schema. Realtime features run over Socket.IO, and Redis carries shared state and caching. Nginx fronts the whole thing, and mutual TLS key pairs are provisioned per host. Compose brings up Postgres, MongoDB, Redis and RabbitMQ together so the topology can be stood up in one command.

Built with

core
Vite
Tailwind CSS
Express
gRPC
RabbitMQ
Socket.IO
React
TypeScript
NestJS

14 in this project · 9 on the orbit, the rest listed alongside