工具介绍
从开始到结束的电子商务 Laravel 应用程序(不包括付款和运输),具有干净简洁的用户界面
ecommerce-laravel-fullstack
This repo is based on the youtube series by @drehimself
Features
- Fully functional E-commerce website front-end and back-end built from scratch.
- Using laravel voyager as an admin panel for the site.
- javascript, jquery, bootstrap and css for the front-end.
- Intelligent searching mechanism for products.
- Awesome Cart package that uses session.
- An artisan command to seed the database with all neccessary dummy data, even for voyager tables (php artisan ecommerce:install).
- Different user roles and privileges.
- Categories, tags and price filtering for easier search for products.
- And much more features.
Installation Guide
- clone this repo to your local machine:
git clone https://github.com/mhmdomer/ecommerce-laravel.git && cd ecommerce-laravel
- copy
.example.env to .env file: cp .example.env .env
- create a new database and add the database credentials to your
.env file
- run
composer install
- run
npm install && npm run dev
- run
php artisan key:generate
- run
php artisan ecommerce:install
- run
php artisan serve and then visit http://127.0.0.1:8000/
- credentials to access admin panel (email:
[email protected], password: password)
- after you login as admin, you can access the admin page from
http://127.0.0.1:8000/admin
Home Page
Shopping Page
Cart Page
Checkout page
Admin Orders BREAD
Admin Products BREAD