This project is a dockerized version of Nuxt 2 and Laravel 6
- Docker
- Base Knowledge of Laravel, Docker and Nuxt
- Copy laravel's configuration file
api/.env.localintoapi/.env - Copy
nuxt/.env.localintonuxt/.env - Run
docker-composer upor startservicesfrom thedocker-compose.ymlfile (this may take up to 5 minutes for the first time) - Run
docker-compose exec php composer install - Run
docker-compose exec php artisan migrate --seed(changeADMIN_EMAIL,ADMIN_PASSWORDandADMIN_USERinapp/.envif you like) - Run
docker-compose exec php bash -c "php artisan migrate --seed"to init the laravel db and seeding the admin user - Run
docker-compose exec php bash -c "php artisan passport:keys"to create the passport keys files
That's it! Try to open http://laranuxt.localhost
- Vue Apollo as module: https://github.com/nuxt-community/apollo-module for GraphQL Client
- Auth Nuxt module: https://auth.nuxtjs.org/ configured to work with laravel passport
- Uses Vuetify as frontend framework: https://vuetifyjs.com/en/
- GraphQL Lite https://graphqlite.thecodingmachine.io/docs/features.html
- Passport already configured and integrated with nuxt auth module