A simple application to learn how to build ecommerce app with Laravel, VueJs, Jwt auth, LaravelCashier and Stripe.
-
Laravel
-
JWT auth: tymon/jwt-auth
-
Laravel Cashier
-
Stripe
-
VueJs
-
VueRouter
-
VueX
-
ValidateJs
-
V-toaster
-
Docker
-
Clone the project
-
Run :
docker-compose build && docker-compose up -d
-
install composer dependencies via this command :
docker-compose run --rm composer install
*Change sql connection in your .env file*
*DB_CONNECTION=mysql*
*DB_HOST=mysql*
*DB_PORT=3306*
*DB_DATABASE=homestead*
*DB_USERNAME=homestead*
*DB_PASSWORD=secret*
-
Connect to the database and run database migration :
docker-compose run --rm artisan migrate
-
Run database Seeder to make some fake users and messages :
docker-compose run --rm artisan db:seed
Be Happy:)