-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.txt
61 lines (40 loc) · 1.01 KB
/
routes.txt
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
# USER
- login
POST /api/user whatToDo = login
- sign up
POST /api/user whatToDo = signUp
- mofify-user
PATCH /api/user/user=<userId>
- change-password
POST /api/user whatToDo = request-change-password
- get_user_by_id
GET /api/user ?code
- reset-password
POST /api/user whatToDo = reset-password
- forget-password
POST /api/user whatToDo = forget-password
# CLIENT
- get_all
GET /api/client header and authentication
- record new client
POST /api/client client data + authentication
- modify client's data
PATCH /api/client new client's data + authentication
# CLOCKIN
- punchin
POST /api/clockin + auth + checking user, client, past clockins, and invoice
- list clockins
GET /api/clockin
- remove
DELETE /api/clockin + auth + clockinId
# INVOICE
- retrieve invoices
GET /api/invoice
- add new invoice
POST /api/invoice
- remove an invoice
DELETE /api/invoice + auth + invoiceId
- edit invoice
PATCH
- edit invoice status
PATCH