Qaravel is a Combination of Laravel and Quasar.
We used Fontawesome pro version.
yarn
cp .env.example .env
cp .env.frontend .env.frontend.dev
We have used Laravel Sanctum SPA authentication. Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / scopes which specify which actions the tokens are allowed to perform. Please check laravel default sanctum configuration
Add your database details on .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=qaravel
DB_USERNAME=root
DB_PASSWORD=toor
yarn fresh:dev
Press Win key + R > Paste following in the box > Press Enter
c:\windows\system32\drivers\etc\hosts
Then add thoes line at the bottom and save as admin.
127.0.0.1 api.qaravel.gomedia
127.0.0.1 app.qaravel.gomedia
Only for windows user
php artisan serve --host=api.qaravel.gomedia --port=80
Change your api url from .env.frontend.dev
API_URL=http://api.qaravel.gomedia
yarn start:web
yarn build:web
yarn run lint
Valet is a Laravel development environment for Mac minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels. Yeah, we like it too. We used valet to deploy this project. Check the configuration of Laravel Valet
First build your app then move all files in server and run following command
cp .htaccess.example .htaccess