A Laravel-Vue SPA starter kit. Inspired by https://github.com/cretueusebiu/laravel-vue-spa
git clone [email protected]:esl51/octopus.git ./
composer update
cp .env.example .env
php artisan key:generate --ansi
php artisan jwt:secret --force --ansi
mkdir -p storage/app/public/media
php artisan storage:link
Edit .env
and set your database connection details
php artisan migrate:fresh --seed
npm install
# Run backend
php artisan serve
# Run frontend in development mode
npm run dev
# Build frontend for production
npm run build
# Unit and Feature tests
php artisan test
# Coverage (need xdebug)
XDEBUG_MODE=coverage php artisan test --coverage-html ./coverage