Sleepr
Microservices reservation platform
Role
Backend developer
Year
2024
Stack
NestJSMicroservicesRabbitMQMongoDBStripeDocker
The task
Go deeper than CRUD: build a realistic microservices system with independent deployability, async messaging, payment processing and proper service boundaries — the architecture questions frontend developers usually only read about.
Stages
Service boundaries
Split the domain into auth, reservations, payments and notifications services, each with its own database and deploy lifecycle.
Async communication
RabbitMQ transport between services, JWT propagation across boundaries, Stripe integration in the payments service.
Operations
Shared library for common concerns, Docker Compose orchestration and health checks for every service.
The results
independent microservices
async messaging via RabbitMQ
production-style payment flow