Skip to content

malthaf9/e-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Application Project

This project is an e-commerce application built using React and styled with Tailwind CSS.

Deployment Link

Table of Contents

Introduction

This project is a React-based e-commerce application that allows users to browse products, add items to their cart, and complete purchases. The app is designed with Tailwind CSS to provide a modern, responsive user interface.

Features

  • Browse and search for products
  • Add items to the shopping cart
  • View and update cart details
  • Proceed to checkout and complete purchases
  • Responsive design with Tailwind CSS

Technologies Used

  • Frontend: React
  • Styling: Tailwind CSS
  • Data Fetching: Axios
  • API: OpenWeatherMap API (or any other weather API)

Installation

Follow these steps to set up the project locally.

Prerequisites

  • Node.js and npm installed on your machine
  • Git installed on your machine

Steps

  1. Clone the repository

    git clone https://github.com/malthaf9/e-store
    cd e-store
  2. Install dependencies

    npm install
  3. Start the development server

    npm start

    The application will open in your default browser at http://localhost:3000.

Usage

How to use the application

  1. Browse Products

    • Navigate through the product listings to find items you’re interested in.
  2. Add to Cart

    • Click on the "Add to Cart" button for products you want to purchase.
  3. View Cart

    • Access the shopping cart to review and update items.
  4. Checkout

    • Proceed to checkout and complete your purchase.

Project Structure

Here's an overview of the project structure:

e-store/ ├── public/ │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src/ │ ├── components/ │ │ ├── Body.js │ │ ├── Card.js │ │ ├── Cart.js │ │ ├── Category.js │ │ ├── CategoryData.js │ │ ├── Header.js │ │ ├── MainContainer.js │ │ ├── OrderConfirmationModal.js │ │ ├── Shimmer.js │ │ └── WatchPage.js │ ├── hooks/ │ │ ├── useCard.js │ │ └── useCategory.js │ ├── utils/ │ │ ├── appStore.js │ │ ├── cardSlice.js │ │ └── constants.js │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── reportWebVitals.js │ └── setupTests.js ├── .gitignore ├── README.md ├── package-lock.json ├── package.json └── tailwind.config.js

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

Steps to Create a Pull Request

  1. Fork the repository

    • Navigate to the repository you want to contribute to.
    • Click the "Fork" button in the top right corner of the repository page. This will create a copy of the repository in your GitHub account.
  2. Clone your forked repository

    git clone https://github.com/malthaf9/e-store
    cd e-store
  3. Create a new branch

    • It is important to create a new branch for your changes to keep your main branch clean and to make it easier to manage multiple pull requests.
    git checkout -b feature-name
  4. Make your changes

    • Make the necessary changes in your local repository.
  5. Commit your changes

    • Commit your changes with a descriptive commit message.
    git commit -m "Add some feature"
  6. Push your changes to your forked repository

    • Push your changes to the branch you created on your forked repository.
    git push origin feature-name
  7. Create a Pull Request

    • Navigate to the original repository on GitHub.
    • Click on the "Pull requests" tab.
    • Click the "New pull request" button.
    • Select the branch you created in your forked repository and compare it with the original repository's main branch.
    • Add a title and description to your pull request explaining what changes you have made.
    • Click the "Create pull request" button.

Conclusion

  • This project showcases how to use React and Tailwind CSS to create a dynamic, responsive weather application. Contributions are welcome to improve and expand the project. Thank you for your interest and happy coding!