e-cart-project Welcome to the E-commerce Website Cart Project! This README file will guide you through the project, its features, installation process, and usage.
Table of Contents Overview
Features
Technologies Used
Installation
Usage
Contributing
License
Overview The E-commerce Website Cart Project is a web application designed to provide a seamless shopping experience for users. It allows users to browse products, add items to their shopping cart, manage their cart, and proceed to checkout.
Features
Product Listing: Browse a wide range of products with detailed information.
Search and Filter: Search for products and apply filters to find exactly what you're looking for.
Shopping Cart: Add, update, and remove items from the shopping cart.
User Authentication: Secure user registration and login.
Order Summary: View a summary of the cart, including total price and item details.
Checkout: Proceed to checkout and place orders.
Responsive Design: Optimized for both desktop and mobile devices.
Technologies Used Framework: Laravel
Frontend: Blade templates, HTML, CSS, JavaScript
Backend: PHP, Laravel
Database: MySQL
Authentication: Laravel Sanctum
Styling: Bootstrap, SASS
Installation To run this project locally, follow these steps:
Clone the repository:
bash git clone https://github.com/yourusername/ecommerce-website-cart.git Navigate to the project directory:
bash cd ecommerce-website-cart Install the dependencies:
bash composer install Copy the .env.example file to create your .env file:
bash cp .env.example .env Generate the application key:
bash php artisan key:generate Set up the environment variables in the .env file:
env APP_NAME=E-commerceWebsite APP_ENV=local APP_KEY=base64:your_app_key APP_DEBUG=true APP_URL=http://localhost
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
SANCTUM_STATEFUL_DOMAINS=localhost SESSION_DOMAIN=localhost Run the database migrations:
bash php artisan migrate Start the development server:
bash php artisan serve Usage Open your web browser and navigate to http://localhost:8000.
Register a new account or log in with an existing one.
Browse products, add items to your cart, and manage your cart.
Proceed to checkout and place your order.
Contributing We welcome contributions to improve the project! If you'd like to contribute, please follow these steps:
Fork the repository.
Create a new branch:
bash git checkout -b feature/your-feature-name Make your changes and commit them:
bash git commit -m "Add your commit message" Push to the branch:
bash git push origin feature/your-feature-name Open a pull request on GitHub.
License This project is licensed under the MIT License. See the LICENSE file for more details.