Skip to content

added functions for auth

Maryam Afshar requested to merge 81-auth-in-the-frontend into main

Description

Added authentication logic to all authentication endpoints for login and registration.

Issue

Issue 81

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

Merge request reports