nailsalon Project Architecture

Nail Salon - Architecture & Technical WorkflowA Monorepo Architecture with Turborepo & pnpmUser ClientFrontend (Next.js / Vercel)Backend (NestJS / Render)Third-Party ServicesBrowser 1Browser 2Browser 3Browser ...Next.js AppBookingForm.tsx(React Query & Zustand)CheckoutForm.tsxAdmin Dashboard(UI: Tailwind, Shadcn/ui, Framer Motion)NestJS APIAuth Service (JWT)Appointments ServicePayments ServiceMedia ServiceEmail ServiceTask Service (Cron)(Email Sync)(Tooling: Helmet, Winston, Swagger)Firebase AuthCloudinaryPostgreSQL DB (Prisma)Stripe APIResend APIGoogle Maps APIGmail API (IMAP)1. Visits Booking Page2. Request API Data4. Request Payment Intent5. Return Client Secret6. User Pays via Stripe Elements7. Stripe Webhook Confirms Payment8. Return final status to page9. Display confirmationRequests Map DataReturns Map Tiles
← Back to Portfolio