Home
All projects

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

01

Service boundaries

Split the domain into auth, reservations, payments and notifications services, each with its own database and deploy lifecycle.

02

Async communication

RabbitMQ transport between services, JWT propagation across boundaries, Stripe integration in the payments service.

03

Operations

Shared library for common concerns, Docker Compose orchestration and health checks for every service.

The results

4

independent microservices

MQ

async messaging via RabbitMQ

Stripe

production-style payment flow

Screens