eliasasa/whatsapp-barber-booking ? reverse-engineered prompt

Reverse engineered prompt

Build me a WhatsApp based barber shop booking backend in Node.js with TypeScript, Prisma, and PostgreSQL, using Express for the API and Docker for local setup. I want the bot to chat with customers on WhatsApp, collect their details, show available services and time slots, book appointments, reschedule them, and cancel them when needed. Also include an admin area with JWT login so I can manage availability, set blocked dates, and handle appointments from protected endpoints. Add the first admin setup flow, login, and a way for an authenticated admin to change their email and password. Please also include the WAHA integration endpoints so I can check session status, get the QR code, start, stop, restart, logout, and delete sessions without exposing WAHA directly in the frontend. Use Prisma migrations and seed data for the initial admin, and make sure the login route has rate limiting. If you need current docs for WAHA or Prisma behavior, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab