Giter Site home page Giter Site logo

react-ecommerce-store's Introduction

An eCommerce store with ReactJS

This is a work in progress. The todo items will grow as it continuous or as needed basis.

Getting Started

  1. Clone the project

  2. After cloning, cd into the project directory and run the following command to install dependencies:

    npm install or npm i

  3. Then run the following command to run the dev server.

    npm run dev

๐Ÿ“ Task Lists

Lists of tasks that are done are crossed out, and those that need to be done.

  1. Create Header
    • Add Store Logo
    • Create Navigation
    • Add Login, Register and Cart icons
  2. Hero Section
    • Single Hero Image
    • Create Hero Slider
  3. Create Footer
  4. Latest Products
    • Card Component
    • Use Carousel Slider To Display Products
  5. Shop By Category
  6. Category Page
    • Filter system
      • Filter By Reviews
      • Filter By Price
      • Filter By Product Status
      • Add "No results found" if results from filter is empty
    • Sort By
      • Alphabetical
      • Price
    • Card Component
      • Add Wishlist button
      • Add Quick View
      • Add Product Ribbon (On Sale, New, Out of Stock etc.)
    • Loading Component
  7. Product Details Page
  8. Breadcrumb Component
  9. About Us Page
  10. Cart Page
  11. Wishlist Page
  12. Login Page
  13. Register Page
  14. Page Not Found (404 Page)
  15. Search Results Page
  16. Implement State Management
    • Context API
    • Redux Toolkit
    • Zustand
  17. Create Custom Hooks
    • useFetch
    • useGlobalContext
  18. Admin Page

Resources

ReactJS

Fake Store API

react-ecommerce-store's People

Contributors

valenzsa avatar

Watchers

 avatar

react-ecommerce-store's Issues

Refreshing the category page does not display any products.

Need to pass in a category name variable into the fetch api call on page load.

Try the following options below:

  1. Grab menu text content/link and update the categoryName state.
  2. Use useParams() or useLocation() to grab the category name from the url and match it with a json data with the correct category name. Then update the categoryName state.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.