This is a simple reservation system for chess lessons made in Laravel.
Additional packages and libraries:
- FullCalendar
Download or git clone this folder
Clone the repository to C:\xampp\htdocs
Go to C:\Windows\System32\drivers\etc and open file hosts, there you should write
127.0.0.1 localhost
127.0.0.1 reservationsystem.test
at the bottom.
Also, you will need to open C:\xampp\apache\conf\extra and open file httpd-vhosts.conf and paste following code at the bottom:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/reservationsystem/public"
ServerName reservationsystem.test
</VirtualHost>
Turn on xampp for Apache and MySQL.
Now you are ready to open your project folder in VS Code.
npm install
composer install
- Copy the .env.example. to a new .env file
cp .env.example .env
- Generate app_key
php artisan key:generate
- Go to PhpMyAdmin (open xampp -> in the row where MySQL is press Admin), now Create new Table, give it a name, put charset to utf8mb4_unicode_ci
- Go to .env file in VS Code and put the name of DB_DATABASE=the name you gave the table
php artisan migrate
For running this project in a browser, you will need to turn on Apache and MySQL in xampp and write reservationsystem.test in the URL.
Admin can see reservations from all users
The Laravel framework is open-sourced software licensed under the MIT license.