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.js
installed on your computer beforehand to run this project. Follow this link to installNode.js
on your computer.
-
Clone the repo
git clone https://github.com/sasanaryan/nike.client.git
-
Install
npm
packagesnpm 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 displaysproducts
belonging to thatCategories
. - Authentication:
Register
andlogin
page for user sign-in and get user info withAccessToken
andRefreshToken
. - Search:
Search Section
is used to search among products and showing result, finally by pressing theEnter
key the search result is transferred to a separate page with a filters options. - Categories:
Categories
page displaying all products related to the category with filters options. - Product:
Product
page displaying product information that includetitle
,images
,price
,description
andsize section
for choosing size also includefavorite
andadd to cart
button. - Cart: Displays a list of products added to the
Cart
. - Profile: Displays
ordered
andfavorite
products.