An open API service indexing awesome lists of open source software.

https://github.com/skn-036/spa-shopping-cart-stripe-payment

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.
https://github.com/skn-036/spa-shopping-cart-stripe-payment

laravel laravel-cashier payment-gateway payment-integration php shopping-cart shopping-cart-spa spa spa-payment-gateway spa-shopping-cart spa-stripe stripe vue vue-router vue-spa vuejs vuex

Last synced: 3 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

## About This Repository

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.

## Installation

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