E-commercee is a Laravel-based e-commerce fashion website designed to provide a seamless shopping experience. The website includes various features and pages to facilitate user interaction and product management.
- Authentication: User authentication is managed using Laravel's Auth UI.
- MySQL Database: All product data is stored and managed in a MySQL database.
- CRUD Operations: Full Create, Read, Update, and Delete operations are implemented for product management.
- Navigation and Footer Bars: Easy navigation across the website with consistent footer information.
- Home: The landing page of the website.
- Story: A page that tells the story of the brand.
- Products: A comprehensive list of all products available for purchase.
- Category: Products categorized for easier browsing.
- FAQ: Frequently Asked Questions to assist users.
- Sign-in: User login page.
- Sign-up: User registration page.
- Profile: User profile management page.
- Cart: Shopping cart for managing selected products.
- PHP >= 7.3
- Composer
- MySQL
- Node.js & NPM (for Laravel Mix)
-
Clone the repository:
git clone https://github.com/AbdooMohamedd/Laravel-e-commerce-website.git cd E-commercee
-
Install dependencies:
composer install npm install
-
Create a copy of your .env file:
cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Set up your database:
- Open the
.env
file and set your database credentials:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=E-commercee DB_USERNAME=root DB_PASSWORD=
- Open the
-
Run the database migrations:
php artisan migrate
-
Seed the database with initial data (optional):
php artisan db:seed
-
Compile the assets:
npm run dev
-
Run the development server:
php artisan serve
- Sign-up: Create a new user account via the Sign-up page.
- Sign-in: Log into the website using your credentials via the Sign-in page.
- Profile Management: Update your profile information on the Profile page.
- View Products: Browse through the products on the Products and Category pages.
- Add to Cart: Add desired products to your cart from the Products page.
- Cart Management: View and manage your cart on the Cart page.
- Use the navigation bar to switch between pages.
- The footer provides additional links and information about the website.
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.