-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblueprint.txt
85 lines (73 loc) · 1.55 KB
/
blueprint.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
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
Existing Node app structure:
Config:
- userId
- password
- cryptrKey
- port
- database
- s3URL
- PassportJS auth config for Local strategy
MongoDB collections:
- AppData
- Meal
- Medicine
- Symptom
- User
Public assets:
- passwordReset/logo.png
- passwordReset/passwordReset.html
- passwordReset/passwordChangeSuccess.html
- passwordReset/passwordLinkExpired.html
- mealData.xlsx
- medicineData.json
- SymptomsData.json
Routes:
- /auth
- /test
- /register
- /login
- /api
- /loggedInUser/:id
- /changePassword/:email
- /passwordResetRedirect
- /resetPassword
- /readMessage/:docId/:msgId
- /targetWeight
- /reloadMessages/:id
- /updateProfile
- /photoUpdate
- /getMeals/:userId
- /filterMeals/:type/:foodPref/:userId
- /initialSymptoms
- /searchSymptoms/:searchParam
- /getAppData
- /sendMsgToAdmin
- /admin
- /editAppData/:id
- /addMeals
- /addNewMeal
- /updateMeal/:id
- /deleteMeal/:id
- /getMealsList
- /addMedicines
- /addNewMedicine
- /getAllMeds
- /deleteMeds
- /addSymptoms
- /addNewSymptom
- /getAllSymptoms
- /deleteSymptopms
- /dbStats
- /templateDownload/:name
- /deleteCollection/:name
- /clearDB
Python counterparts:
- ? MongoEngine / PyMongo: for MongoDB ORM in place of Mongoose
- Flask: for RESTful API creation in place of Express
- ? Flask-MongoEngine:
- Flask-Admin: for creating CRUD views for MongoDB collections
- Flask-Bcrypt:
- Flask-Cors:
- ? Flask-Heroku:
- ? Flask-Login / Flask-Principal / Flask-Security / Flask-User:
- ? Flask-Mail: