Getting StartedSolveBuildIntelligenceLearnHelpWhat's New
RECIPES

Booking App

Recipe for building a consulting booking app in Rocket.new with calendar scheduling, user profiles, paid sessions, and automated email reminders.

A consulting booking app where clients browse available consultants, book time slots through an embedded calendar, pay for premium sessions, and receive email confirmations and reminders. The finished product includes user authentication, consultant profiles, calendar-based scheduling, Stripe payments for paid sessions, transactional email notifications, and one-click deployment to Netlify.

By the end of this recipe you will have a production-ready booking platform that you can customize, rebrand, and launch as your own service.

Tech stack

You do not need to understand these technologies. Rocket handles them automatically. This table is for reference.
ServiceRole
Next.js + TypeScriptFrontend framework and API routes
CalendlyCalendar scheduling, availability management, and booking widgets
SupabaseUser authentication, consultant profiles, booking records, and reviews
StripePayment processing for paid consultation sessions
ResendBooking confirmation emails, reminders, and cancellation notices
NetlifyProduction deployment and hosting

Architecture overview

Here is how the pieces connect:

  1. A visitor signs up using Supabase Auth (email/password or social login) and creates a client profile.
  2. The client browses consultant profiles stored in Supabase, filtering by specialty, availability, and price.
  3. The client selects a consultant and picks a time slot using an embedded Calendly scheduling widget.
  4. If the session is a paid consultation, the client is redirected to a Stripe Checkout page to complete payment before the booking is confirmed.
  5. Once the booking is confirmed, Resend sends a confirmation email to both the client and the consultant with meeting details and calendar invite.
  6. Before the session, Resend sends a reminder email 24 hours in advance.
  7. The entire app is deployed to Netlify with environment variables configured for each service.

How long does it take?

PhaseWhat you are buildingEstimated time
SetupProject, Supabase, profiles5-10 minutes
SchedulingCalendar, booking management10-15 minutes
PaymentsStripe for paid sessions5 minutes
NotificationsEmail confirmations5 minutes
LaunchDeploy, go live5 minutes
TotalComplete booking app30-40 minutes

Step-by-step build

Open rocket.new and create a new project. Give Rocket a detailed description of the app so it scaffolds the right pages, layout, and navigation from the start.

Build a consulting booking platform called "BookPro" using Next.js and TypeScript. Include these pages: landing page with hero section and featured consultants, consultant directory with search and filters, individual consultant profile page with bio and booking widget, client dashboard showing upcoming and past bookings, consultant dashboard for managing availability and viewing bookings, login page, and signup page. Use a clean, professional design with a blue and white color scheme. Add a responsive navbar with logo, navigation links, and login/signup buttons.

Be specific about both the client-facing and consultant-facing pages. Booking apps need views for both sides of the marketplace.

Go to Integrations in your Rocket project and connect your Supabase account via OAuth. Create a new Supabase project (or select an existing one), then ask Rocket to set up the database schema.

Connect Supabase and create the following database tables:
1. "profiles" - id (uuid, references auth.users), display_name (text), email (text), avatar_url (text), role (text, either 'client' or 'consultant'), created_at (timestamp)
2. "consultants" - id (uuid, references profiles), specialty (text), bio (text), hourly_rate (integer, in cents), is_featured (boolean), calendar_link (text), years_experience (integer), rating (decimal)
3. "bookings" - id (uuid), client_id (uuid, references profiles), consultant_id (uuid, references consultants), scheduled_at (timestamp with timezone), duration_minutes (integer, default 60), status (text, either 'confirmed', 'completed', 'canceled'), notes (text), stripe_payment_id (text), created_at (timestamp)
4. "reviews" - id (uuid), booking_id (uuid, references bookings), client_id (uuid, references profiles), consultant_id (uuid, references consultants), rating (integer, 1 to 5), comment (text), created_at (timestamp)
Add row-level security policies so clients can only access their own bookings and consultants can only see bookings assigned to them. Create a trigger that automatically inserts a profile row when a new user signs up.

Rocket handles the Supabase connection through OAuth, so you never need to copy API keys manually. Your credentials are encrypted and stored securely.

Wire up authentication so users can create accounts and sign in, then build profile management for both clients and consultants.

Implement user authentication and profiles using Supabase Auth:
- On the signup page, add email/password registration with a role selector (client or consultant). After signup, redirect to the appropriate dashboard.
- On the login page, add email/password login with a "Remember me" checkbox. Redirect to the correct dashboard based on role.
- Add Google sign-in as a social login option on both pages.
- For consultants, build a profile editor where they can set their display name, avatar, specialty, bio, hourly rate, years of experience, and calendar link.
- For clients, build a simpler profile page with display name, avatar, and email.
- Protect dashboard pages so only logged-in users can access them. Redirect unauthenticated visitors to the login page.

After Rocket builds the auth flow, preview the app and create test accounts for both a client and a consultant. Verify that each role sees the correct dashboard.

Connect a scheduling service so clients can see availability and book time slots directly from the consultant's profile.

Integrate Calendly for scheduling:
- On each consultant's profile page, embed the Calendly scheduling widget using the consultant's calendar_link from the database.
- The widget should show available time slots based on the consultant's configured availability.
- When a client selects a time slot, capture the booking details (date, time, duration) and create a booking record in the Supabase bookings table with status 'confirmed'.
- Add a Calendly webhook handler that listens for booking.created and booking.canceled events to keep the Supabase bookings table in sync.
- Show a confirmation screen after booking with the date, time, consultant name, and session details.

Calendly provides a managed service with a generous free tier that works well for embedding scheduling widgets.

Build dashboards for both clients and consultants to view and manage their bookings.

Build booking management dashboards:
- Client dashboard: show a list of upcoming bookings sorted by date with consultant name, date and time, duration, and status badge. Add a "Past Bookings" tab showing completed sessions. Include a "Cancel Booking" button that sets the status to 'canceled' (only allowed more than 24 hours before the session).
- Consultant dashboard: show all upcoming bookings with client name, date and time, duration, and any notes. Add a calendar view that displays bookings visually across the week. Include a "Past Sessions" tab with completed bookings.
- Add a booking detail page that both the client and consultant can access, showing full session information and a notes field.

Go to Integrations and connect Stripe using your test mode API keys. Then set up payment processing for paid consultation sessions.

Connect Stripe and set up payment for bookings:
- When a client books a paid session, redirect them to a Stripe Checkout page before confirming the booking. The checkout should show the consultant's name, session duration, and the hourly rate.
- Add a webhook handler that listens for checkout.session.completed. When payment succeeds, update the booking status to 'confirmed' and store the Stripe payment ID in the bookings table.
- If the client cancels a booking more than 24 hours before the session, issue an automatic refund through Stripe and update the booking status.
- Add a billing history page in the client dashboard showing all past payments with date, consultant, amount, and receipt link.
- For consultants, show an earnings summary with total revenue, completed sessions, and a payout history section.

Use Stripe test mode keys during development. The test card number 4242 4242 4242 4242 with any future expiration and any CVC will simulate a successful payment.

Go to Integrations and connect Resend by pasting your API key. Then set up transactional emails for key booking events.

Connect Resend and add email notifications:
- Send a booking confirmation email to both the client and consultant when a session is booked. Include the date, time, duration, consultant/client name, and a calendar invite (.ics) attachment.
- Send a reminder email 24 hours before the scheduled session to both parties with the meeting details and any join link.
- Send a cancellation email when a booking is canceled, including refund details if a payment was made.
- Send a follow-up email to the client 1 hour after the session ends, asking them to leave a review for the consultant.
- Use a clean, professional email template with the BookPro logo, a white background, and blue accent buttons.

Resend provides a free tier of 100 emails per day, which is plenty for development and early launch. You can upgrade later as your booking volume grows.

Go to Integrations and connect Netlify, then deploy your app to the web.

Use the Launch button in your Rocket project to deploy to the web. Rocket handles the Netlify build configuration automatically. Make sure all required environment variables are set in your project's integration settings before launching.

After deploying, update your Supabase redirect URLs to include your app's live URL. Go to your Supabase dashboard, navigate to Authentication > URL Configuration, and add https://your-app.builtwithrocket.new to the allowed redirect URLs.

Customization ideas

Once the base booking platform is running, here are ways to extend it.

Troubleshooting

On this page