MyMood-Alexa / MyMood-Interface

0 stars 2 forks source link

[DI-2.2] Login Backend #13

Closed jtam360 closed 5 years ago

jtam360 commented 6 years ago

-Backend changes hooked up to front end -Front end should dynamically receive backend data -v1 of login

child of #14 connects #14

jtam360 commented 5 years ago

Moved login/logout functions from frontend to backend. Removed body-parser package due to security concerns as it is a wrapper for express.json(), express.urlencoded(), and express.mutlipart(). Users expressed concerns that express.multipart() creates temporary files that are not garbage collected so they advise to only use the middlewares we need. https://stackoverflow.com/questions/5710358/how-to-retrieve-post-query-parameters

Login/Logout process: 49429705-0c4a9100-f75e-11e8-8fec-ebf544d86a2c.gif