stardustmeg / greenshop

Greenshop
https://mad-wizards-greenshop.netlify.app/
MIT License
6 stars 1 forks source link

[sprint_3] 🎯 Issue RSS-ECOMM-3_20: Implement Routing 🚦 and Browser Navigation 🌐 for User Profile Page (15 points) #163

Closed stardustmeg closed 6 months ago

stardustmeg commented 6 months ago

🎯 Issue RSS-ECOMM-3_20: Implement Routing 🚦 and Browser Navigation 🌐 for User Profile Page (15 points)

📋 Description

To enhance the user experience, implement routing and browser navigation that allows users to navigate to the User Profile page. The User Profile page should be restricted only to logged-in users.

🔨 Implementation Details

  1. User Profile Page: This page should display information about a user's profile. Only logged-in users should have access to this page.
  2. Routing: The URL in the browser should change when users navigate to the User Profile page and when they navigate away from it. The User Profile page should have a unique URL that can be directly accessed.
  3. Browser Navigation: Ensure the proper functioning of the browser's navigation buttons (Back and Forward) when navigating to and from the User Profile page.
  4. Access Control: The User Profile page should be accessible only to logged-in users. If a user who is not logged in tries to access the User Profile page, they should be redirected to the Login page.

✅ Acceptance Criteria

stardustmeg commented 6 months ago

[sprint_3] 🎯 Issue RSS-ECOMM-3_20: Implement Routing 🚦 and Browser Navigation 🌐 for User Profile Page (15 points)