https://github.com/emmyaniedev/e-commerce-project-laravel
This repository contains the source code for a feature-rich e-commerce platform designed for scalability and efficiency. The project implements a range of modern e-commerce functionalities, including optimized product caching, session-based shopping cart storage, and admin management with protected routes.
https://github.com/emmyaniedev/e-commerce-project-laravel
cache-storage middleware session-management
Last synced: 4 months ago
JSON representation
This repository contains the source code for a feature-rich e-commerce platform designed for scalability and efficiency. The project implements a range of modern e-commerce functionalities, including optimized product caching, session-based shopping cart storage, and admin management with protected routes.
- Host: GitHub
- URL: https://github.com/emmyaniedev/e-commerce-project-laravel
- Owner: EmmyAnieDev
- Created: 2024-12-24T08:08:49.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-05T12:14:21.000Z (6 months ago)
- Last Synced: 2025-01-28T21:36:40.624Z (6 months ago)
- Topics: cache-storage, middleware, session-management
- Language: CSS
- Homepage:
- Size: 8.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
- Created Seeder to add an admin. ====> php artisan make:seeder AdminSeeder
- Edited seeder file to create an admin and also called the seeder in the DatabaseSeeder then ran the command ====>> php artisan db:seed
- When we want to fetch related data we use the Eager loading.
- Eager loading is used to fetch related data along with the main model to avoid multiple queries.
- When the "Add to Cart" button is clicked, the product information is loaded and saved into the user's session.
* _THINGS TO STORE IN THE SESSION_ ====>> Product's ID, Image, Name, Price, Color, QTY,
- To Add Notification when a user adds a product to Cart. run this commands below.
- composer require php-flasher/flasher-notyf-laravel
- php artisan flasher:install
## Application Screenshots

*Admin Panel Screenshot*
*User Dashboard Screenshot*