FlatAndFlatmates
Search…
⌃K

Auth

File Name : auth.js File Path : /server/routes/auth.js Auth route contains checkUser, login and logout routes for user. Also routes can be added which require authentication. These functionalities are included in Auth Controller.
get
/api/auth/login
login
get
/api/auth/checkuser
Check User Existence
get
/api/auth/logout
logout