-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbadges remake.txt
More file actions
127 lines (109 loc) · 2.12 KB
/
Copy pathbadges remake.txt
File metadata and controls
127 lines (109 loc) · 2.12 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
BACKEND API - SERVER
tutti i nomi delle variabili/routes in INGLESE
ROUTES
index
pagina con info varie, box con storico ordini dal pi� recente, box con situazione magazzino
login -> login route / registration form
...
customers -> lista clienti
MODEL customer
CRUD customer
customers/create
customers/detail/id
customers/update/:id
customers/delete/:id
products -> lista prodotti
MODEL product
CRUD
products/create
products/detail/:id
products/update/:id
products/delete/:id
items -> TBD
MODEL item
CRUD
items/create
items/detail/:id
items/update/:id
items/delete/:id
item_categories -> lista categorie prodotti
MODEL prod_categories
CRUD
prod_category/create
prod_category/detail/:id
prod_category/update/:id
prod_category/delete/:id
badges -> lista tipi badges - E' una categoria di prod. Unica prevista al momento
MODEL badge
CRUD badge
badge/create
badge/detail/:id
badge/update/:id
badge/delete/:id
orders -> lista ordini
MODEL order
CRUD ordini
order/create
order/detail/:id
order/update/:id
order/delete/:id
stocks -> lista giacenze dei clienti
MODEL stock
CRUD giacenze clienti
stock/create
stock/detail/:id
stock/update/:id
stock/delete/:id
wharehouse
pagina con situazione magazzino, lista giacenze magazzino
CRUD giacenze magazzino.
MODELS
tutti i nomi delle propriet� in INGLESE
user{
_id : UUID
username : string
password : string
mail : string
}
customer {
_id : UUID
society_name : string
iva_cf : string
telephone : string
mail : string
notes: text
}
item {
_id : UUID
CategoryId: UUID
ProductId: UUID
OrderId: UUID
}
product {
_id: UUID
name: STRING
CategoryId: UUID
description: STRING
}
item_category {
_id : UUID
name : string
description : text
notes: text
}
Model generico per ordine, a seconda del prodotto order_detail dovr� contenere info diverse...
order {
_id : string
customer_id : ObjectID(customer)
product_id : ObjectID(product)
quantity : int number
date: date
delivery_date : date
delivery_id : ObjectID(delivery)
status : ObjectID(status)
order_detail : ObjectID(orderdetail) <- how to ruin your own life
}
stocks {
}
badges {
}