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.
- 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
- Laravel 8
- Javascript
- JQuery
- MySql
- HTML5
- CSS3
-
cd /opt/lampp/htdocs git clone https://github.com/ashraf-kabir/ecom-laravel.git
-
cd chmod -R 777 ecom-laravel cd ecom-laravel
-
code .
-
Create .env file & add below stripe variables
STRIPE_PUBLISHABLE_KEY=YOUR_STRIPE_PUBLISHABLE_KEY STRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY
-
Run the project when inside ecom-laravel dir
php artisan serve
-
Create a database on mysql using php phpmyadmin & set below variables on .env
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=DATABASE_NAME DB_USERNAME=root DB_PASSWORD=
-
If you don't have any mysql login password, keep the DB_PASSWORD blank.
-
run the below command to migrate & seed. Check the databaseseeder for more clarification.
php artisan migrate:refresh --seed
-
open the project url http://127.0.0.1:8000