Create a room booking system with Laravel and FullCalendar – Part 2

laravel 8

For the second part on how to create a room booking system with Laravel and FullCalendar tutorial, we will be focusing on the front-end. You may refer to the part 1 on how to install and configure Laravel for this project.

I’m suggesting that you download the code first so that you can refer the details in the php files, line by line. Then we need to integrate Bootstrap, FullCalendar and Date Range Picker library into our project. You may view the demo here.

Step 1: Create a folder to store all CSS and JS.

I created an “_asset” folder and put the Bootstrap, FullCalendar and Date Range Picker. I also created a style.css for custom CSS styling for the website. You may also use the CDN version of the libraries instead of hosting the scripts in your server.

Step 2: Create a “event” folder for view

Under resource/view folder, create a folder named as “event”. And as mentioned in the previous tutorial, we need to create a view file for each function such as index, create, edit, show and list.