This is a project has features an online Hotel system with different roles and permissions(Admin, Manager,Reciptionist, Client) using Laravel framework.
Ahmed Saleh - Bassam Saad - Hossam Salah - Islam Shabaan - Khaled Elgaml - Mohamed Egila
You should have composer
installed. If you don't install composer from here.
-
Download the zipped file and unzip it or Clone it
sh git clone https://github.com/Ahmed-Saleh-007/Hotels.git
-
cd inside the project
cd Hotels
-
Run this command to download composer packages
composer install
-
Run this command to update composer packages
composer update
-
Create a copy of your .env file
cp .env.example .env
-
Generate an app encryption key
php artisan key:generate
-
Create an empty database for our application in your DBMS
-
In the .env file, add database information to allow Laravel to connect to the database
-
Migrate the database
php artisan migrate
-
Seed the database
php artisan db:seed
-
Generate Storage folder in your public directory to store uploaded files or images
php artisan storage:link
-
check your device that can connect to mailtrap through telnet
telnet smtp.mailtrap.io 465
If you don't enable telnet You have to go to Control Panel>Programs>Turn Windows features on or off. Then, check "Telnet Client" and save the changes. You might have to wait about a few minutes before the change could take effect.
-
Start schedule to send missing email
php artisan schedule:work
-
Start queue to send notifications
php artisan queue:work
-
Open mailtrap link to see coming emails
https://mailtrap.io/inboxes
-
Open up the server
php artisan serve
-
Open your browser on this url
http://localhost:8000
Demo of laravel hotel project open this link https://laravelhotel.herokuapp.com/
MIT License
Copyright (c) 2021 OS41
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.