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.
- Host: GitHub
- URL: https://github.com/skn-036/spa-shopping-cart-stripe-payment
- Owner: skn-036
- Created: 2021-05-10T19:05:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T23:56:24.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T02:34:42.425Z (4 months ago)
- Topics: 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
- Language: PHP
- Homepage:
- Size: 1.53 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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