Slotly Appointments
A booking system for any business that rents out time: clinics, sports grounds, salons, studios and meeting rooms. Customers see live availability and pay first. The owner runs everything from one dashboard.
- Type
- Full-stack booking platform
- Role
- Design & development
- Frontend
- Next.js 15, React 19, Tailwind CSS 4, Framer Motion
- Backend
- Next.js API routes, TypeScript, Zod
- Data
- PostgreSQL with Prisma
- Payments
- Razorpay, with signed webhooks
- Hosting
- Vercel
- Status
- Live (demo data)
Visit live site ↗Screenshot of the live site. Click it to open the real thing.
The problem & the solution
Problem. Small businesses still take bookings by phone and chat. Slots get double-booked, people don't turn up, and nobody is sure who has paid or who asked for a refund.
Solution. Slotly shows real availability, holds the slot for ten minutes while the customer pays through Razorpay, and confirms the booking only after the server has verified the payment. Cancellations go through a ticket the owner approves, with the refund worked out automatically.
Slotly runs with demo places and sample data. It shows the complete flow, from browsing to payment, cancellation and refund.
Highlights
- Live availability that updates on every open page (Server-Sent Events)
- Pay first: bookings are confirmed only after a verified Razorpay payment
- A slot is held for 10 minutes while the customer pays
- Double-booking prevented by a database-level unique rule
- Ticket-based cancellation with an automatic 70% or 50% refund
- Email confirmations through an outbox with retries
- Owner dashboard for places, bookings, payments, customers and messages
- Light and dark theme with smooth motion
From browsing to confirmed in four steps
Every step is checked on the server, so prices and availability can't be faked from the browser.
Pick a place
Search or filter by type. Each place shows its slot length, price and what to bring.
Choose slots
Select a day and up to 10 slots. Closed days and holidays are greyed out.
Pay securely
The slots are held for 10 minutes while the customer pays with Razorpay.
Confirmed
The payment signature is verified, the booking is confirmed and an email goes out.
Built for customers and for the owner
Customer side
- Browse places and live availability without an account
- Sign up, log in (email or Google) and reset passwords
- Book several slots at once, across different dates
- My bookings, booking details and profile
- Raise a cancellation ticket with a reason
Owner dashboard
- Create places with price, slot length, capacity and photo
- Weekly opening hours, off days and blocked holiday dates
- Bookings, payments, customers and contact messages
- Approve or reject cancellations; refunds go through Razorpay
- Live updates without refreshing
Reliability
- Unique rule on place, time and seat stops double bookings
- Idempotent payment confirmation, so retries never duplicate
- Email outbox with retries and a scheduled cron job
- Photos kept in a private Backblaze B2 bucket
Money and data handled carefully
Payments
- HMAC-SHA256 signature checks with constant-time comparison
- Prices are only ever read from the server
- Webhook amount and currency are verified
- Refunds are claimed atomically, so no double refunds
Account & access
- bcrypt passwords, constant-time login and rate limits
- Role checks on every page and every API route
- CSRF origin checks and safe redirects
- Password reset tokens stored only as hashes
Tests
- Unit tests for slots, policy and payment signatures
- Integration tests for the booking engine and API routes
- Playwright end-to-end tests for booking, auth and owner flows
- Accessibility and responsive checks
What it's built with
Need a booking system?
We build booking, scheduling and payment-driven apps for clinics, venues, studios and service businesses.
Discuss your project →
