This is an experimental booking system using Laravel 5.7 and Vue 2.
- Git.
- PHP.
- Composer.
- Laravel CLI.
- MySQL/MariaDB.
- A webserver like Nginx or Apache.
- Node Package Manager.
$ git clone https://github.com/arthurvasconcelos/booking-system.git
$ cd booking-system
$ CREATE DATABASE IF NOT EXISTS booking_system CHARACTER SET utf8 COLLATE utf8_general_ci;
$ CREATE USER IF NOT EXISTS 'booking_user'@'localhost' IDENTIFIED BY PASSWORD 'bookpwd';
$ GRANT ALL PRIVILEGES ON booking_system.* TO 'booking_user'@'localhost';
$ composer install
$ npm install
- .ENV
and update db section
$ cp .env.example .env
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=booking_system DB_USERNAME=booking_user DB_PASSWORD=bookpwd
- Generate the application key
$ php artisan key:generate
- Install Passport
$ php artisan passport:install
- Migrate the application
$ php artisan migrate
- Seed Database
$ php artisan db:seed
$ npm run prod
$ php artisan serve