php artisan serve --host=api.ev2.gomedia --port=80 c:\windows\system32\drivers\etc\hosts
Qaravel is a Combination of Laravel and Quasar
yarncp .env.example .env
cp .env.frontend .env.frontend.devWe 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
SANCTUM_STATEFUL_DOMAINS=jnelectrical.gomedia:8081 (for local you have to include your port)
SESSION_DOMAIN=.jnelectrical.gomediaAdd your database details on .env Change your app url from .env.frontend.dev (if you want to deploy it in local) | .env.frontend and .env
php artisan migrate:fresh --seedyarn start:webyarn build:webyarn run lintValet 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