Skip to content

kmarsha/booking-room

Repository files navigation

Project Welcome Page

Booking Room

Repository Status


Booking Room is a simple project for booking and rescheduling room

📝 Table of Contents

🤓 User Role

Completed with 2 Users

  • Admin (managed Users and room schedule)
  • Ordinary User (books room)

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them.

PHP >= 8.0.12

Installing

A step by step series of examples that tell you how to get a development env running.

Say what the step will be

git clone

composer install

composer update

cp .env.example .env

php artisan key:generate

CREATE DATABASE

modify .env file

php artisan migrate --seed

php artisan serve

open app\Http\Kernel.php add sintaks below in last lined of protected $routeMiddleware array 'isAdmin' => \App\Http\Middleware\AdminMiddleware::class,

🎈 Usage

Login with Role Admin

Login with Role User (may you prefer to register)

There's 8 types of booking status

  • pending = the first status after request booking
  • approved = when admin approving your request
  • rejected = when admin rejecting your request and you refuse to reschedule
  • used = when you used the room
  • canceled = when you canceling the room you have been book
  • done = when the room already used
  • expired = the pending status not noticed by admin and it has been past the booking date
  • rescheduled = when you accept to reschedule your booking

🌸 Preview

⛏️ Built With

✍️ Authors

About

Rooming Application with Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published