
Set up a Next.js 15 app with create next app, choose TypeScript, Tailwind, src directory, app router, and Turbo Pack; run locally and customize the Shea Salon and Spa title.
Replicate the login form to build the registration page, adding name, email, password, and role with validation, update labels and navigation to login, and prepare for backend storage with Supabase.
Register a new user with name, email, password, and role using a Next.js server action; validate email with Supabase, hash the password with bcryptjs, and insert into user_profiles with toasts.
Protect private routes with Next.js middleware by checking route and cookies, redirecting unauthenticated users to login and routing authenticated users to the proper user or salon owner dashboard.
Build the layout skeleton for private and public routes by implementing a layout provider, role-aware header, and wrapper components, preparing navigation and styling for the salon and spa booking app.
Render a sidebar menu in the layout with a sheet component opened by the hamburger and closed on outside clicks, based on the logged-in user or salon spa owner role.
Render the layout menu items dynamically based on the logged-in user role, highlight the active item, and implement logout with cookie removal and navigation.
Store the logged-in user in a global Zustand store instead of local state to share data across private layout, header, and menus, avoiding prop drilling.
Fetch and display salons and spas created by different users on the schedule appointment page, then navigate to the selected salon spa's schedule appointment view.
Builds filter logic for the salon spa owner appointments table with a filters object for status, salon spa id, and date, wiring apply and clear actions to update the query.
Next.js 15 & Supabase – Build a Salon & Spa Booking App
Course Overview
Learn to build a fully functional Salon & Spa Booking App using Next.js 15, Supabase, and Tailwind CSS. This hands-on course will help you master modern web development by creating a real-world project from scratch. Whether you are a beginner or an experienced developer, this course will enhance your skills in full-stack development.
What You Will Learn
Build a booking system for salons and spas
Implement Next.js 15 and Supabase for a full-stack solution
Design a responsive UI with Tailwind CSS
Manage authentication with JWT
Deploy seamlessly with Vercel
Work with PostgreSQL for data management
Key Features
For Salon & Spa Owners
Create a profile and list services
Manage bookings, customers
Filter appointments by date and location
Access a dashboard with insights
For Normal Users
Search salons and spas by location, services, and ratings
Book and manage appointments
Track past and upcoming bookings
Who Should Enroll?
Developers looking to build real-world projects
Anyone interested in Next.js, Supabase, and Tailwind CSS
Entrepreneurs and students wanting to create a booking platform
Freelancers who want to expand their portfolio
Enroll now and start building your own Salon & Spa Booking App!