Skip to content

IslamShaaban/Hotels

 
 

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Hotel System

This is a project has features an online Hotel system with different roles and permissions(Admin, Manager,Reciptionist, Client) using Laravel framework.

Team Members:

Ahmed Saleh - Bassam Saad - Hossam Salah - Islam Shabaan - Khaled Elgaml - Mohamed Egila

Prerequisites

You should have composer installed. If you don't install composer from here.

Installing

  1. Download the zipped file and unzip it or Clone it sh git clone https://github.com/Ahmed-Saleh-007/Hotels.git

  2. cd inside the project

    cd Hotels
  3. Run this command to download composer packages

    composer install
  4. Run this command to update composer packages

    composer update
  5. Create a copy of your .env file

    cp .env.example .env
  6. Generate an app encryption key

    php artisan key:generate
  7. Create an empty database for our application in your DBMS

  8. In the .env file, add database information to allow Laravel to connect to the database

  9. Migrate the database

    php artisan migrate
  10. Seed the database

    php artisan db:seed
  11. Generate Storage folder in your public directory to store uploaded files or images

    php artisan storage:link
  12. 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.

  13. Start schedule to send missing email

    php artisan schedule:work
  14. Start queue to send notifications

    php artisan queue:work
  15. Open mailtrap link to see coming emails https://mailtrap.io/inboxes

  16. Open up the server

    php artisan serve
  17. Open your browser on this url http://localhost:8000

Demo of laravel hotel project open this link https://laravelhotel.herokuapp.com/

License

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.

About

ITI laravel project course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 68.8%
  • Blade 19.0%
  • HTML 9.2%
  • Less 2.9%
  • Shell 0.1%