-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
β Tasks
- Fork the submodule (https://github.com/SB2318/IEEE-s-Mindful-Devs-Bootcamp)
- Create a new branch add your changes there
- Create PR For the submodule
Feature Description
π Description
Today's goal is to integrate all authentication-related backend API endpoints into the frontend application.
The integration should ensure users can create an account, log in, and fetch their profile securely.
π API Endpoints to Integrate
1. POST /auth/create-user
- Triggered from Signup form
- Validate inputs (email, password, name)
- Show success or error toast
- Redirect to Login page after successful signup
2. POST /auth/login
- Triggered from Login form
- Validate user credentials
- Redirect user to Home page
3. GET /auth/profile
- Called on Home page after login
- Use stored token
- Fetch user details
π― Acceptance Criteria
- User can sign up
- User can log in
- User data loads on Home Page
Use Case
Feature
Benefits
Learning
Add ScreenShots
No response
Priority
High
Record
- I have read the Contributing Guidelines
- I'm a GSSOC'24 contributor
- I'm a IEEE IGDTUW contributor
- I want to work on this issue
Reactions are currently unavailable