-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasic Struture whole website.txt
More file actions
81 lines (65 loc) · 1.53 KB
/
Copy pathBasic Struture whole website.txt
File metadata and controls
81 lines (65 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Front-end
Authenticated User -
-- Landing Page, --everyoone
-- Authenticatication
-- Location detected
-- cart modal
-- search navbar
--search Page, --everyone
-- category page
-- product page --everyone
-- category page, -- everyone
-- detail product page
-- category --out side
-- detail product page
-- Cart page, --- Authenticated User
-- Cart page -- not Authenticated and Authenticated User
-- add to able the product page
-- Address Page
-- Payment page
-- Successfully Payment Page
Admin Panel Page -- Authenticated
-- CRUD action;
-- add product,
-- delete product,
-- update product,
-- read product
-- User List
-Read User
Backend Part
-manage api
-Add product in mongoDb altas
--all product api
--category api
--subcategory api
--single product api
--User Cart api
--all product api
--category api
--subcategory api
--single product api
--Signup
Add User,
-- Email Address && password
-- Google OAuth (optionally)
-- Name, Address
-cart
--product id (fetch the data with product id)
mongoose schema {
Email,
password,
Name
Address, -- same
Location, -- same
cart : [
{
product id --
total quantity :
each price of product :
total price
},
{
product id
}
]
}