A sample boilerplate simple book store project including the following technologies :
php / Laravel backend , mysql db , vue.js , vuex , vuetify and tailwind.css
###Backend :
Using JsonResource to shape apis , Request objects to validate inputs ,phpmyadmin to login to database without using any paid software. laravel sanctum for having cookie session login method at the same time having bearer token method for mobile users.
###Front-end :
Using vuetify , Vuex store , i18n for vue translations , tailwind css with prefix to make it working with vuetify and the ability to have authorized routes only for logged in users.
- run
composer install
- run
npm install
- run docker-compose command :
docker-compose -f docker-compose-dev.yaml up -d
- make a
.env
file and set it up with your mysql info or use existing env file - run
php artisan key:generate
- run
php artisan storage:link
- run
php artisan migrate:fresh
- run
php artisan db:seed
to seed the database - run
php artisan serve
- run in a new command line tab
npm run watch
- open the app and have some fun :)
- username :
info@test.com
- password :
123123