Skip to content

SUNIL7978/E-commerce-amazona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1.List Of Product

1.Create Product Array
2.add Products Image
3.Render Product
4.style Product

2.Add Raect-Router-Dom

1. npm i react-router-dom
2. create route for home screen
3. create router for product screen

3.Ceate backend Api To install Node.js Server

1. run npm init in root folder
2. Update package.json set type: module
3. Add .js to imports
4. npm install express
5. create server.js
6. add start command as node backend/server.js
7. require express
8. create route for / return backend is ready.
9. move products.js from frontend to backend
10. create route for /api/products
11. return products
12. run npm start

4.Fetch Products From Backend

1. set proxy in package.json
2. npm install axios
3. use state hook
4. use effect hook
5. use reducer hook

5.Manage State By Reducer Hook

1. define reducer
2. update fetch data
3. get state from usReducer

6.Add bootstrap UI Framework

1. npm install react-bootstrap bootstrap
2. update App.js

7.Create Product and Rating Component

1. create Rating component
2. Create Product component
3. Use Rating component in Product component

8.Create Product Details Screen

1. fetch product from backend
2. create 3 columns for image, info and action

9.Create Loading and Message Component

1. create loading component
2. use spinner component
3. craete message component
4. create utils.js to define getError fuction

10.Create React Context For Add Item To Cart

1. Create React Context
2. define reducer
3. create store provider
4. implement add to cart button click handler

11.Complete Add To Cart

1. check exist item in the cart
2. check count in stock in backend

12.Create Cart Screen

1. create 2 columns
2. display items list
3. create action column

13.Complete Cart Screen

1. click handler for inc/dec item
2. click handler for remove item
3. click handler for checkout

14.Create Signin Screen

1. create sign in form
2. add email and password
3. add signin button

15.Connect To MongoDB Database

1. create atlas monogodb database
2. install local mongodb database
3. npm install mongoose
4. connect to mongodb database

16.Seed Sample Products

1. create Product model
2. create seed route
3. use route in server.js
4. seed sample product

17.Seed Sample Users

1. create user model
2. seed sample users

18.Create Signin Backend API

1. create signin api
2. npm install jsonwebtoken
3. define generateToken

19.Complete Signin Screen

1. handle submit action
2. save token in store and local storage
3. show user name in header

20.Create Shipping Screen

1. create form inputs
2. handle save shipping address
3. add checkout wizard bar

21.Create Sign Up Screen

1. create input forms
2. handle submit
3. create backend api

22.Implement Select Payment Method Screen

1. create input forms
2. handle submit

23.Create Place Order Screen

1. show cart items, payment and address
2. handle place order action
3. create order create api

24.Implement Place Order Action

1. handle place order action
2. create order create api

25.Create Order Screen

1. create backend api for order/:id
2. fetch order api in frontend
3. show order information in 2 cloumns

26.Pay Order By PayPal

1. generate paypal client id
2. create api to return client id
3. install react-paypal-js
4. use PayPalScriptProvider in index.js
5. use usePayPalScriptReducer in Order Screen
6. implement loadPaypalScript function
7. render paypal button
8. implement onApprove payment function
9. create pay order api in backend

27.Display Order History

1. create order screen
2. create order history api
3. use api in the frontend

28.Create Profile Screen

1. get user info from context
2. show user information
3. create user update api
4. update user info

29.Add Sidebar and Search Box

5. add sidebar
6. add search box

30.Create Search Screen

1. show filters
2. create api for searching products
3. display results

31.Create Admin Menu

1. define protected route component
2. define admin route component
3. add menu for admin in header

32.Create Dashboard Screen

1. create dashboard ui
2. implement backend api
3. connect ui to backend

33.Manage Products

1. create products list ui
2. implement backend api
3. fetch data

34.Create Product

1. create products button
2. implement backend api
3. handle on click

35.Create Edit Product

1. create edit button
2. create edit product ui
3. dispaly product info in the input boxes

36.Implement Update Product

1. create edit product backend api
2. handle update click

37.Upload Product Image

1. create cloudinary account
2. use the api key in env file
3. handle upload file
4. implement backend api to upload

38.Delete Product

1. show delete button
2. implement backend api
3. handle on click

39.List Orders

1. create order list screen
2. implement backen api
3. fetch and display orders

40.Deliver Order

1. add deliver button
2. handle click action
3. implement backen api for deliver

41.Delete Order

1. add delete button
2. handle click action
3. implement backen api for delete

42.List Users

1.create User list screen.
2.implement backend api.
3.fetch and display user

43.Edit User

1. create edit button
2. create edit product ui
3. dispaly product info in the input boxes
4. implement backend api
5. handle edit click

44.Delete User

1. add delete button
2. handle click action
3. implement backen api for delete

45.Review Orders

1. create submit review form
2. handle submit
3. implement backend api for review

46.Upload multiple Images

1. add images to product model
2. get images in edit screen
3. show images in product screen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published