Skip to content

untilyou58/laravel-vuex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-vuex

Learn about vuex SPA, laravel 7.0

Prerequisites

Install

  • Create env file in web folder
  • Fill variables inside env file
DB_CONNECTION=pgsql
DB_HOST=vuesplash_database
DB_PORT=5432
DB_DATABASE=postgres
DB_USERNAME=postgres
DB_PASSWORD=secret

AWS_ACCESS_KEY_ID=[ACCESS_KEY_ID_AWS_IAM]
AWS_SECRET_ACCESS_KEY=[SECRET_KEY_AWS_IAM]
AWS_DEFAULT_REGION=[YOUR_REGION_AWS]
AWS_BUCKET=[BUCKET_NAME]
AWS_URL=https://s3-[YOUR_REGION_AWS].amazonaws.com/[BUCKET_NAME]/
  • Build with docker
docker-cmpose build
docker-compose up -d
  • Generate APP_KEY
docker-compose exec vue_web php artisan key:generate
  • Run server with port 8081
docker-compose exec vue_web php artisan serve --host 0.0.0.0 --port 8081
  • Run npm run watch
docker-compsoe exec vue-web npm run watch
  • Migrate table for database
docker-compose exec vue_web php artisan migrate
  • Run on browser with host: [DOCKER_IP]:3002

About

Learn about vuex SPA, laravel 7.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published