Skip to content

This repository contains the code for a hotel management system that is designed to replace manual registration systems in hotels. The system is built on top of the Laravel framework and uses MySQL as the database. It features a user-friendly dashboard that allows hotel staff to easily manage guests, rooms, and bookings.

Notifications You must be signed in to change notification settings

srijan-lamichhane/HotelManagementSystem

Repository files navigation

Laravel Logo

Hotel Management System

This repository contains the code for a hotel management system that is designed to replace manual registration systems in hotels. The system is built on top of the Laravel framework and uses MySQL as the database. It features a user-friendly dashboard that allows hotel staff to easily manage guests, rooms, and bookings.

Some Features

  • 🌟 Tech stack:Laravel + Blade Templates + TailwindCSS
  • 🎃 Authentication & Authorization with built-in Laravel Sanctum
  • 👾 Role-based user management (Admin/User)
  • 🚀 Dynamic user dashboards for different roles
  • 🔄 Data seeding with pre-configured users for easy testing (Admin and regular user)

Technologies Used

  • Frontend:: Blade Templates, TailwindCSS
  • Backend: Laravel (PHP)
  • Database: MySQL (Eloquent ORM)
  • Seeder: Laravel Seeder for prepopulated database entries

Project Screen Shot(s)

dashboard Image calander Image addbooking Image attendence Image

Contributing

Contributions are welcome! Feel free to fork the repository and submit pull requests.

Setup Instructions

Prerequisites:

  • PHP >= 7.3
  • Composer
  • Node.js & npm (for Tailwind compilation)
  • MySQL

Steps:

  1. Clone the repository:

    git clone https://github.com/srijan-lamichhane/HotelManagementSystem.git
    cd HotelManagementSystem
  2. Install dependencies:

    composer install
    npm install
  3. Set up environment variables:

    cp .env.example .env
    php artisan key:generate

    Make sure to configure the .env file with your database credentials.

  4. Run migrations and seed the database:

    php artisan migrate
    php artisan db:seed
  5. Compile assets:

    npm run dev
  6. Start the development server:

    php artisan serve
  7. Login using the seeded admin account: or register the user

    • Email: admin@gmail.com
    • Password: admin123

🌟star to the repository is appreciated

About

This repository contains the code for a hotel management system that is designed to replace manual registration systems in hotels. The system is built on top of the Laravel framework and uses MySQL as the database. It features a user-friendly dashboard that allows hotel staff to easily manage guests, rooms, and bookings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •