Next.js 14 application with App Router and Server Actions allowing users to book cabins at the Wild Oasis hotel.
Users can navigate different cabins, sign up with Google and create an account.
Logged-in users can securely book cabins.
design by Tailwind.css.
Optimistic UI.
- using Next js version 14.
- Google Cloud Account: Required to set up Next-auth Google Provider.
- Supabase Account: Required for database functionalities.
Installation
- Clone the repository: https://github.com/IbrahimGomaa10/nextjs-big-project.git
- cd nextjs-big-project
- install dependencies: npm i
- Set up environment variables:
SUPABASE_URL = SUPABASE_KEY =
NEXETAUTH_URL = NEXTAUTH_SECRET =
AUTH_GOOGLE_ID = AUTH_GOOGLE_SECRET =
- Framework: React, Next.js 14 (App Router)
- for client-side validation
- React Select (for forms customization)
- Styling: Tailwind CSS
- DB: SupaBase
- Authentication: NextAuth.js with Google Provider
Visit the live demo of The Wild Oasis deployed on Vercel.