项目作者: ashraf-kabir

项目描述 :
Laravel ecommerce site with Products, Categories, Orders, PDF Invoice, Stripe payments, separate user & admin panel
高级语言: Blade
项目地址: git://github.com/ashraf-kabir/ecom-laravel.git
创建时间: 2021-04-26T08:48:40Z
项目社区:https://github.com/ashraf-kabir/ecom-laravel

开源协议:

下载


Laravel Ecommerce site


Description: Full ecommerce site using laravel, mysql, js & jquery with Stripe payment. Followed MVC structure. Separate login for admin & customer. Customer can add product to cart. Then checkout & pay using Stripe. Admin can add products, categories, view products, categories, orders.


Features

  • Customer->register, login, view products, add to cart, checkout
  • Admin->login, add products, categories. View products, categories, orders
  • Stripe payment gateway
  • Separate user panel for admin & customer

Languages & frameworks

  • Laravel 8
  • Javascript
  • JQuery
  • MySql
  • HTML5
  • CSS3

Instructions to install (linux)

  1. clone the repo into htdocs directory

    1. cd /opt/lampp/htdocs
    2. git clone https://github.com/ashraf-kabir/ecom-laravel.git
  2. open the project

    1. cd chmod -R 777 ecom-laravel
    2. cd ecom-laravel
  3. open the project into VSCode editor

    1. code .
  4. Create .env file & add below stripe variables

    1. STRIPE_PUBLISHABLE_KEY=YOUR_STRIPE_PUBLISHABLE_KEY
    2. STRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY
  5. Run the project when inside ecom-laravel dir

    1. php artisan serve
  6. Create a database on mysql using php phpmyadmin & set below variables on .env

    1. DB_CONNECTION=mysql
    2. DB_HOST=127.0.0.1
    3. DB_PORT=3306
    4. DB_DATABASE=DATABASE_NAME
    5. DB_USERNAME=root
    6. DB_PASSWORD=
  7. If you don’t have any mysql login password, keep the DB_PASSWORD blank.

  8. run the below command to migrate & seed. Check the databaseseeder for more clarification.

    1. php artisan migrate:refresh --seed
  9. open the project url http://127.0.0.1:8000

Project Preview: Home page

preview of ecom laravel home

Raise a star to support me.