Skip to content

amirkhodabande/Dockerized-Shopping-spa-with-Laravel-and-VueJS

Repository files navigation

Single page shopping app

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

If you dont know docker you can use the normal version of this project.

  1. Clone the project

  2. Run : docker-compose build && docker-compose up -d

  3. 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*

  1. Connect to the database and run database migration : docker-compose run --rm artisan migrate

  2. Run database Seeder to make some fake users and messages : docker-compose run --rm artisan db:seed

Done, now the app is ready on 'localhost:81'.

Be Happy:)

alt alt alt alt

About

A simple Dockerized application to learn how to build an eCommerce app with Laravel, VueJs, Jwt auth, LaravelCashier, and Stripe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages