Repository navigation
Create User Profile Page (Frontend UI + Integration) #129
Copy link
Copy link
Open
OpenCodeChicago/hacktoberfest-2025-frontend
#230Labels
advancedComplex/advanced tasks or featuresComplex/advanced tasks or featuresaxiosPromise-based HTTP clientPromise-based HTTP clientenhancementNew feature or requestNew feature or requestfrontendTasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)Tasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)hacktoberfestSpecial issue for HacktoberfestSpecial issue for Hacktoberfesthacktoberfest-2025Special issue for Hacktoberfest 2025Special issue for Hacktoberfest 2025reactReact components & UI logicReact components & UI logictailwindTailwind CSS & stylingTailwind CSS & styling
Milestone
Description
Description
Design and implement the User Profile Page for authenticated users.
After successful login or registration, users should be able to view their profile information such as name, email, and optionally order history or cart summary.
UI / Design
- Follow the existing UI design system (colors, spacing, typography).
- Page layout includes:
- User full name and email.
- Show a clean, responsive layout suitable for mobile and desktop.
Functionality
- Fetch and display current user details from
/api/users. - Page should only be accessible to authenticated users.
- Redirect unauthenticated users to the login page.
Security
- Protect the route with frontend auth guard (Private Route).
- Fetch user data using stored JWT token in
Authorizationheader. - Never expose sensitive information (passwords, tokens, etc.).
Example Endpoints
GET /api/users→ Returns authenticated user info (from token).
Assets
Acceptance Criteria
- Profile page accessible only to authenticated users.
- User details display correctly after login.
- Responsive and visually consistent with the app’s theme.
- Proper logout and redirect functionality.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
advancedComplex/advanced tasks or featuresComplex/advanced tasks or featuresaxiosPromise-based HTTP clientPromise-based HTTP clientenhancementNew feature or requestNew feature or requestfrontendTasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)Tasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)hacktoberfestSpecial issue for HacktoberfestSpecial issue for Hacktoberfesthacktoberfest-2025Special issue for Hacktoberfest 2025Special issue for Hacktoberfest 2025reactReact components & UI logicReact components & UI logictailwindTailwind CSS & stylingTailwind CSS & styling
Type
Projects
- StatusShow more project fieldsTodo


Activity
SaiSathwikAnchuri commentedon Oct 25, 2025
assign me this issue, but i cant see the repo for getting code could you help me providing the repo
AparAgarwal commentedon Oct 25, 2025
@SaiSathwikAnchuri check this for the frontend repo.
builtby-SHIV commentedon Oct 27, 2025
@Alexandrbig1 Can I work on this ?
Alexandrbig1 commentedon Oct 27, 2025
@shiv7shukla, yes, of course. I've assigned you to this task. Looking forward to your PR's.
builtby-SHIV commentedon Oct 28, 2025
@Alexandrbig1 How do I fetch user data from JWT? Does the payload contain all the data of the user or only the username?
Also I don't see Popup dialog component in the repo; was it removed ?
Alexandrbig1 commentedon Oct 29, 2025
@shiv7shukla, when the user is logged in, it responds with:
Or you can call
https://corexshoptest.onrender.com/api/users/currentwith the provided token when the user logs in and retrieve this data:{ "id": "", "name": "username", "email": "@mail.com" }