This is a fictitious project built with Next.js 14, Supabase, and Tailwind CSS, focusing on SEO and performance optimization. The project also integrates NextAuth.js to manage authentication, including a guest area.
This also contains user dashboard called mycabins
where The Nature's Cabin user can manage booking, checking and whole other hotel management stuff.
![Screenshot 2024-10-26 at 7 04 00 PM](https://private-user-images.githubusercontent.com/42729832/380374303-50a47cc2-0958-42d5-8e05-fcf87ad4a270.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODczMzksIm5iZiI6MTczOTA4NzAzOSwicGF0aCI6Ii80MjcyOTgzMi8zODAzNzQzMDMtNTBhNDdjYzItMDk1OC00MmQ1LThlMDUtZmNmODdhZDRhMjcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA3NDM1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkM2I2MTBjNmJhNWQ3ODlkNjMxMTMwMjYwMjFlMjEzYzEzZDc5ZGNlMzJhOGU5OGQzMGE0Mjc0MWQyMmIyZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HpsEShQRWFqR1iTL4CTWUzgY5r7bq_2j2A81lcDJ5Ww)
- Features
- Technologies Used
- Getting Started
- Environment Variables
- Project Structure
- Authentication with NextAuth.js
- Performance Optimizations
- SEO Optimization
- Scripts
- License
- Next.js 14: App Router for modern routing and optimized rendering.
- Supabase: Backend-as-a-service for database, authentication, and APIs.
- Tailwind CSS: Utility-first CSS framework for rapid UI development.
- NextAuth.js: Authentication for users and a guest area.
- SEO-Optimized: Includes meta tags, sitemap generation, and structured data.
- Performance Optimization: Code splitting, image optimization, and lazy loading.
- Next.js 14 (App Router)
- Supabase (Authentication & Database)
- NextAuth.js (User authentication with guest area)
- Tailwind CSS (For styling)
- React 18
- ESLint & Prettier (For code quality)
- Vitest (For testing)
- JSDOM (For browser environment in tests)
Ensure you have the following installed:
- Node.js (>= 18.x)
- npm or yarn