Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cba85/laravel58-shopping-cart

🛒 Shopping cart in Laravel 5.8
https://github.com/cba85/laravel58-shopping-cart

laravel58 php71 stripe

Last synced: 2 days ago
JSON representation

🛒 Shopping cart in Laravel 5.8

Awesome Lists containing this project

README

        

# Laravel Shopping Cart

A simple Laravel e-commerce website.

## Features

- Users
- Products
- Product stock management
- Cart
- Checkout
- Stripe payment

## Install

Update values with your information in `.env` file:

```bash
# Database
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_shopping_cart
DB_USERNAME=root
DB_PASSWORD=

...

# Stripe API
STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
```

Then launch the following commands:

```bash
$ php artisan migrate # Create database schema
$ php artisan db:seed # Add test products in database
$ npm run build # Compile project assets
```