Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 13 days 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.

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

![Screenshot 1](app_screenshot/screenshot-admin.png)
*Admin Panel Screenshot*

![Screenshot 2](app_screenshot/screenshot-users.png)
*User Dashboard Screenshot*