Skip to content

A full-stack application developed for users to check the hotel's offer, manage their bookings and account. Built using: Next.js, TypeScript, Tailwind CSS, Supabase, NextAuth.

Notifications You must be signed in to change notification settings

adrian-prajsnar/serenity-haven-website

Repository files navigation

Serenity Haven Website

serenity-haven.vercel.app

Description

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.

Table of Contents

Getting Started

To get this project up and running on your local machine, follow these steps:

Prerequisites

Make sure you have the following software installed on your system:

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
git clone https://github.com/adrian-prajsnar/serenity-haven-website.git
  1. Navigate to the project folder:
cd your-project
  1. Install the project dependencies:
npm install

Usage

  1. To run the project:
npm run dev
  1. To build the project:
npm run build
  1. To simulate production:
npm run prod
  1. To check for ESLint erorrs:
npm run lint

Environment Variables

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

Contributing

I welcome contributions from the community to enhance and improve this project. To contribute, please follow these steps:

  1. Fork the project repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them with clear, descriptive messages.
  4. Push your branch to your fork: git push origin feature/your-feature-name.
  5. 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!

License

MIT License

About

A full-stack application developed for users to check the hotel's offer, manage their bookings and account. Built using: Next.js, TypeScript, Tailwind CSS, Supabase, NextAuth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published