The project uses Laravel, Vue and mysql.
XAMPP;
For vue packages just run:
npm i
With terminal inside the vue folder named "front";
For Laravel packages first install composer, and then run:
composer install
With terminal inside the laravel folder named "Laravel";
To start the database make sure your file ".env" inside the "Laravel" folder have a valid database such as follow:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=mysql
DB_USERNAME=root
DB_PASSWORD=
And then Start at XAMPP console Apache and Mysql server, and run:
php artisan migrate
With terminal inside the laravel folder named "Laravel";
Now you are good to start both the servers;
To the laravel server run:
php artisan serve
With terminal inside the laravel folder named "Laravel";
To the laravel server run:
npm run serve
With terminal inside the laravel folder named "Laravel";
Laravel: 8.75
Php: 8.2.12
Vue: 5.0.8
There are some test cases for laravel routes, to run:
php artisan test
With terminal inside the laravel folder named "Laravel";