The project is a website for Serenity Haven hotel, where guests can view information about the hotel, currently available cabins, book nights, and manage their bookings and account. Full-stack application built using Next.js & TypeScript with Tailwind CSS, Supabase & NextAuth.
Features:
- Authentication & Authorization using NextAuth.
- Cabins Display: Users can see all cabins, sort them by size, view the details and book them if they are available.
- About Page: Users can view the information about hotel.
- Contact Page: Users can check contact details as well as make an online inquiry via contact form (for now, UI blueprint without actually sending inquiry)
- Guest Area: Users land on their dashboard where they can see their bookings, update or delete them. They can also update their profile.
- Full responsiveness - well designed and responsive UI up to 280px width.
To get this project up and running on your local machine, follow these steps:
Make sure you have the following software installed on your system:
- Node.js
- npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/adrian-prajsnar/serenity-haven-website.git
- Navigate to the project folder:
cd your-project
- Install the project dependencies:
npm install
- To run the project:
npm run dev
- To build the project:
npm run build
- To simulate production:
npm run prod
- To check for ESLint erorrs:
npm run lint
To run this project, you would need to add the following environment variables to your .env file.
SUPABASE_URL
SUPABASE_KEY
NEXTAUTH_URL
NEXTAUTH_SECRET
AUTH_GOOGLE_ID
AUTH_GOOGLE_SECRET
I welcome contributions from the community to enhance and improve this project. To contribute, please follow these steps:
- Fork the project repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
. - Make your changes and commit them with clear, descriptive messages.
- Push your branch to your fork:
git push origin feature/your-feature-name
. - Submit a pull request to the main repository, explaining the purpose and changes of your contribution.
I appreciate your contributions and will review and merge them as appropriate. Let's make this project better together!