I built Mimic around how people discover places, meet each other and keep those interactions going. Someone can find a business or event, share it in a conversation, join a live room, book a session or send a gift. Behind those features, I built six NestJS services covering identity, location-based discovery, messaging, live interaction, payments and notifications.

A lot of the work was in connecting those experiences. A user account becomes the identity used in a chat or live room. A coin purchase becomes a wallet balance, which can then pay for a Giftmoji or a booked session. A notification has its own stored record, so it remains available in the app after the push has been missed or dismissed.

This is the part I wanted to document more clearly: the scope of the backend, what each service handles, how the services work together, and the areas I would strengthen next.

System design

Service overview: six backend services, their data stores and external integrations.

Service overview: six backend services, their data stores and external integrations.

Use the tabs below to explore the four design views.

mimic-system-design.html

Editable Excalidraw scene: Download this JSON file and open it using Excalidraw’s Open command. It contains editable frames, shapes, text and arrows.

mimic-system-design.json

The platform at a glance

Service What I built into it Primary storage
User Authentication, profiles, social relationships, interests, preferences and account lifecycle PostgreSQL / TypeORM
Spot Business and event discovery, maps, inquiries, bookings, reviews, verification, todos and owner insights MongoDB / Mongoose
Chat Direct and group conversations, attachments, shared content, Giftmojis, membership and live message events PostgreSQL / TypeORM
Meet Live broadcasts, PGC rooms, scheduled sessions, moderation and text/video matching PostgreSQL / TypeORM
Payout Coin purchases, wallets, transaction history, gifting, session payments, subscriptions and creator withdrawals PostgreSQL / TypeORM; Redis for exchange-rate caching
Notification Email and push delivery, templates, device registration and a persistent notification inbox PostgreSQL / TypeORM; RabbitMQ for incoming requests

The services use TypeScript and NestJS. REST handles most application requests, Socket.IO carries live application events, and LiveKit handles the audio/video layer. Firebase Storage holds uploaded media, with references kept in the relevant service's records.

User Service: the identity and social foundation

I built the User Service to handle more than registration and login. It owns the identity other services use, alongside profiles, interests, contact discovery, follower relationships and user preferences.

The authentication work covers email/password registration, verification emails, login using an email address, phone number or username, password recovery and authenticated password changes. I also added Google and Apple sign-in. Passwords are hashed with bcrypt, and JWTs carry the user identity used by the other services.

On the social side, users can update their profile and media, search for people, find existing users through contacts, follow and unfollow people, and manage interests and preferences such as location and currency. These details feed into discovery and recommendations elsewhere in the platform.

There are also account deletion and deactivation workflows, verification records and login-location enrichment. The service includes code for downstream account cleanup; completing and validating that cross-service lifecycle is part of the remaining integration work.

I kept this data in PostgreSQL because these parts of the product revolve around relationships: users, profiles, interests, preferences and followers. Profile media goes to Firebase Storage, and the service requests emails and push notifications through RabbitMQ.

Spot Service: discovery, coordination and business activity