Nike Shop is an e-commerce web app built with React.js and hosted on Netlify. This website imitates a real-world market where visitors can view products under different categories, select product for favoraite collection, serach products, add products to cart, confirm order, and see ordered products in profile page.
Nike shop is an fully resposive e-commerce web app built with React.js and hosted on Netlify. The Backend api created by node js, express and mongoDB. This website imitates a real-world market. guest users just can view products, serach products, and add products to cart. signed-in users also can confirm order, select products for favoraite collection and see ordered with favorites products in profile page.
Getting started with Nike Shop is fairly easy and simple. Follow the instructions as stated below -
- You need to have
Node.jsinstalled on your computer beforehand to run this project. Follow this link to installNode.json your computer.
-
Clone the repo
git clone https://github.com/sasanaryan/nike.client.git
-
Install
npmpackagesnpm install
-
Start the development server
npm start
. (Root)
├── public
├── src
│ ├── components #(folder: Contains all components )
│ ├── context #(folder: Contain Alert system that used context format in the project )
│ ├── data #(folder: Including static and mock data )
│ ├── feature #(folder: Including costum hooks)
│ ├── pages #(folder: Including pages that used in routing)
│ ├── route #(folder: Manages routing logic in application )
│ ├── services #(folder: Api calling for user authentication )
│ ├── store #(folder: Including user slice, cart slice )
│ ├── theme #(folder: Incuding MUI theme and styled components breakpoints)
│ ├── type #(folder: Including Global type)
│ ├── App.tsx
│ ├── config.ts # baseUrl for non-Token requests
│ └── index.tsx
│
├── .gitignore
├── craco.config.js
├── README.md
├── package-lock.json
├── package.json
└── tsconfig.json
- Home: display of all
Categories. Also includes displaysproductsbelonging to thatCategories. - Authentication:
Registerandloginpage for user sign-in and get user info withAccessTokenandRefreshToken. - Search:
Search Sectionis used to search among products and showing result, finally by pressing theEnterkey the search result is transferred to a separate page with a filters options. - Categories:
Categoriespage displaying all products related to the category with filters options. - Product:
Productpage displaying product information that includetitle,images,price,descriptionandsize sectionfor choosing size also includefavoriteandadd to cartbutton. - Cart: Displays a list of products added to the
Cart. - Profile: Displays
orderedandfavoriteproducts.
