added functions for auth
Description
Added authentication logic to all authentication endpoints for login and registration.
Issue
Feature
- Login
- Registration
- Logout
- Get User on login/registration
Tophatting
User postman / Front-end UI directly
Expected current behavior
- Existing user: Login -> Main Page
- New User: Registration -> Main Page
Changes
- Added User Context
Screenshots
None
Design Patterns
None
Deviations
Were there any deviations from the original design or architecture plan. If yes, what were they ? None
Additional
-
Unit test written -
Meets requirements -
Cross-browser tested -
Added/updated documentation as needed -
Camel case style used
Closes #81 (closed)
Edited by Priyadarshini Saha