This repository implements Laravel and Vue.js as a product shopping cart single page application(SPA). Laravel Cashier(stripe) is used as the payment gateway.
First download this repository. Navigate to root of the project and then
composer install
npm install
copy the contents of .env.example to .env file. Fill up the database credentials(DB_DATABASE, DB_USERNAME, DB_PASSWORD) according to your database. Then put your STRIPE_KEY and STRIPE_SECRET. You can get your own here.
At the root of your project run the following commands on terminal sequentially.
php artisan key:generate
php artisan migrate
php artisan db:seed
This will store all the default data into the database. Then compile the assets by
npm run dev
Finally initiate your server and enjoy !!!
php artisan serve