Skip to content

mkkapadi12/E-commerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mayur E-commerce

E-commerce

My E-commerce website is a responsive and dynamic platform designed to make online shopping easy and enjoyable. It fetches product information from APIs, ensuring that the inventory is up-to-date and reflective of the latest offerings.

Features

Getting Started

Follow these steps to set up and run the E-commerce Website on your local machine.

Prerequisites

Make sure you have the following software and accounts set up:

  • Node.js : Download and install Node.js from nodejs.org.
  • API Key : You will need an API key from the API provider API_KEY.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/mkkapadi12/E-commerce.git
  2. Change your working directory to the project folder:

    cd E-commerce
  3. Create a .env file in the project root and add your News API key as follows:

    REACT_E-COMMERCE_PRODUCTS_API_KEY=your-api-key
  4. Install the required dependencies:

    npm install

Running the App

  1. Start the development server:

    npm start
  2. Open your web browser and navigate to http://localhost:3000 to access the E-commerce Website.

Usage

Once you have set up the project locally, you can interact with the React E-commerce website to explore products and simulate a shopping experience.

1. Home Page

Visit the home page to get an overview of featured products and promotions. Navigate through different sections and get a feel for the overall design and layout.

2. Product Listings

Explore the product listings by clicking on different categories or using the search functionality. Each product card provides essential information such as the product name, price, and a brief description.

3. Product Details

Click on a product card to view detailed information about a specific product. Get an in-depth look at product features, specifications, and customer reviews.

4. Shopping Cart

Add products to your cart and proceed to the shopping cart page. Review the items you've added, update quantities, and continue shopping or proceed to checkout.

5. User Authentication

If you wish to access additional features such as saving favorites or viewing order history, consider creating an account or logging in.

6. Responsive Design

Test the responsiveness of the website by accessing it from different devices - desktops, tablets, and mobile phones. Ensure that the user interface adapts gracefully to various screen sizes.

7. Testing

Feel free to test any additional features, report any issues you encounter, and contribute to the improvement of the project.

8. Provide Feedback

We value your feedback! If you have suggestions, find bugs, or want to contribute, please let us know by opening an issue or submitting a pull request.

Enjoy exploring and shopping with our React E-commerce website!

Folder Structure

  • src/ contains the main source code of the application.
  • src/components/ holds React components used in the app.
  • src/Context/ holds React creatContext functionality.
  • src/Helper/ holds React small components as a helper used in the app.
  • src/Pages/ holds Pages like Home,About which show the users.
  • src/reducer/ holds React Hook "useReducer" functionality
  • src/styles/ holds Button and Container styled Components.
  • src/App.js is the root component where the application starts.
  • src/GlobalStyle.jsx contains the CSS styles for the app using style component.

Contributing

Contributions and improvements are welcome! If you have any ideas, feature suggestions, or bug reports, please open an issue or create a pull request on the Mayur E-commerce GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Acknowledgments

Contact

If you have any questions or need assistance, please feel free to contact us at

Enjoy your Online Shopping with the Mayur E-commerce !

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.9%
  • Other 1.1%