Skip to content

An internal hotel management application designed for hotel employees to efficiently manage hotel operations, including bookings, cabins, guests, and more.

Notifications You must be signed in to change notification settings

shubhs27/The-wild-oasis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The Wild Oasis

logo logo

๐Ÿ“‹ Table of Contents

๐Ÿจ About

The Wild Oasis is an internal hotel management application designed for hotel employees to efficiently manage hotel operations, including bookings, cabins, guests, and more. This project demonstrates advanced React implementation with Supabase backend integration, authentication, and modern UI practices.

๐ŸŽฎ Demo Account

You can access the application using the following demo account:

  • Email Address: test@test.com
  • Password: test1234

๐Ÿ”‘ Key Features

Authentication and User Management

  • Secure login system for hotel employees
  • New user registration (limited to within the application)
  • Profile management with avatar upload and password changes

Cabin Management

  • Complete cabin listings with details (photos, capacity, pricing, discounts)
  • Create, update, and delete cabin functionality
  • Image upload support

Booking Management

  • Comprehensive booking table with filtering and sorting options
  • Detailed booking information (dates, status, payment, guest info)
  • Status tracking: unconfirmed, checked-in, checked-out

Check-in/Check-out System

  • Streamlined guest check-in and check-out process
  • Payment confirmation handling
  • Last-minute breakfast add-on option

Guest Information

  • Detailed guest profiles with complete contact information
  • National ID and nationality tracking with country flags

Dashboard Analytics

  • Real-time overview of key metrics for 7, 30, or 90 day periods
  • Today's check-ins and check-outs with action capabilities
  • Sales statistics and booking metrics
  • Visual charts for sales data and stay duration analysis

Application Settings

  • Customizable parameters for breakfast pricing
  • Booking limitations configuration (min/max nights, max guests)

Theme Support

  • Dark/light mode toggle for user preference

๐Ÿ“ธ Screenshots

Dashboard

Dashboard

Light Theme Preview

Light Theme

Login Page

Wild Oasis Login

Bookings View

Bookings

Check In Booking

Bookings

Cabins Management

Cabins

User Profile

User Profile

Settings Page

Settings

๐Ÿ’ป Technologies Used

  • Frontend:

    • React
    • React Router DOM
    • React Query (@tanstack/react-query)
    • Styled Components
    • React Hook Form
    • React Hot Toast
    • React Icons
    • Recharts
    • Date-fns
  • Backend & Data:

    • Supabase (Authentication, Database, Storage)

๐Ÿš€ Getting Started

Prerequisites

  • Node.js (v14.x or later)
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/shubhs27/The-wild-oasis.git
  1. Navigate to the project directory
cd the-wild-oasis
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables Create a .env file in the root directory with the following variables:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_KEY=your_supabase_anon_key
  1. Start the development server
npm run dev
# or
yarn dev
  1. Access the application at http://localhost:5173 (or the URL shown in your terminal)

๐Ÿ“ Project Structure

the-wild-oasis/
โ”œโ”€โ”€ context/
โ”‚   โ””โ”€โ”€ DarkModeContext.jsx
โ”œโ”€โ”€ data/
โ”œโ”€โ”€ features/
โ”‚   โ”œโ”€โ”€ authentication/
โ”‚   โ”œโ”€โ”€ bookings/
โ”‚   โ”œโ”€โ”€ cabins/
โ”‚   โ”œโ”€โ”€ check-in-out/
โ”‚   โ”œโ”€โ”€ dashboard/
โ”‚   โ””โ”€โ”€ settings/
โ”œโ”€โ”€ hooks/
โ”‚   โ”œโ”€โ”€ useLocalStorageState.js
โ”‚   โ””โ”€โ”€ useMoveBack.js
โ”œโ”€โ”€ pages/
โ”‚   โ”œโ”€โ”€ Account.jsx
โ”‚   โ”œโ”€โ”€ Booking.jsx
โ”‚   โ”œโ”€โ”€ Bookings.jsx
โ”‚   โ”œโ”€โ”€ Cabins.jsx
โ”‚   โ”œโ”€โ”€ Checkin.jsx
โ”‚   โ”œโ”€โ”€ Dashboard.jsx
โ”‚   โ”œโ”€โ”€ Login.jsx
โ”‚   โ”œโ”€โ”€ PageNotFound.jsx
โ”‚   โ”œโ”€โ”€ Settings.jsx
โ”‚   โ””โ”€โ”€ Users.jsx
โ”œโ”€โ”€ services/
โ”‚   โ”œโ”€โ”€ apiAuth.js
โ”‚   โ”œโ”€โ”€ apiBookings.js
โ”‚   โ”œโ”€โ”€ apiCabins.js
โ”‚   โ”œโ”€โ”€ apiSettings.js
โ”‚   โ””โ”€โ”€ supabase.js
โ”œโ”€โ”€ styles/
โ”œโ”€โ”€ ui/
โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ constants.js
โ”‚   โ””โ”€โ”€ helpers.js
โ”œโ”€โ”€ App.jsx
โ””โ”€โ”€ main.jsx

๐Ÿชด Future Updates

  • Progressive Web App (PWA) capabilities
  • Enhanced UX/UI and bug fixes
  • Featured cabins/tours section
  • Recently viewed cabins/tours
  • Mobile application version
  • Additional analytics and reporting features

Acknowledgments

  • This project is part of Jonas Schmedtmann's Udemy course - The Ultimate React Course 2025
  • All assets and UI components are inspired by the course material.

About

An internal hotel management application designed for hotel employees to efficiently manage hotel operations, including bookings, cabins, guests, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published