real time auction webapp
git clone https://github.com/ddamss/auction-app.git
composer install
npm install
APP_NAME=Auctions-app
php artisan key:generate
APP_KEY=***************
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=auction-app
DB_USERNAME=********
DB_PASSWORD=********
php artisan migrate
php artisan ui bootstrap
php artisan ui vue
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan passport:install
PASSPORT_PERSONAL_ACCESS_CLIENT_ID=*
PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET=************
composer require league/flysystem-aws-s3-v3 ~1.0
Create one public AWS bucket with one folder called “auction-images/” then set the environement variables
AWS_ACCESS_KEY_ID=***********
AWS_SECRET_ACCESS_KEY==***********
AWS_DEFAULT_REGION==***********
AWS_BUCKET=auctions-app
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::auctions-app/*"
}
]
}
Create the app on https://dashboard.pusher.com/# and set the environement variables below :
BROADCAST_DRIVER=pusher
PUSHER_APP_ID=******
PUSHER_APP_KEY=***********
PUSHER_APP_SECRET=*****
PUSHER_APP_CLUSTER=****
php artisan cache:clear
php artisan route:cache
php artisan config:cache
composer dump-autoload -o