Skip to content

✅ Week 15: Completed full authentication with protected routes#4

Open
Abdulrahman-Midraara wants to merge 1 commit intogabischool:mainfrom
Abdulrahman-Midraara:abdulrahman-midraara
Open

✅ Week 15: Completed full authentication with protected routes#4
Abdulrahman-Midraara wants to merge 1 commit intogabischool:mainfrom
Abdulrahman-Midraara:abdulrahman-midraara

Conversation

@Abdulrahman-Midraara
Copy link

✅ Week 15: Note Taking App with Auth

This PR contains the complete implementation of Week 15 assignment requirements. Below is a summary of completed work as per the instructions:

✅ MVP Requirements – Completed

  • 🛠️ Project setup completed (client & server)
  • 🔐 Authentication flow (register, login, logout)
  • 🔒 Protected routes using <ProtectedRoute />
  • 🧭 Navbar with dynamic navigation based on auth state
  • ✅ Auth slice: login, register, logout, checkAuthStatus using Redux Toolkit & createAsyncThunk
  • 📄 Forms built with react-hook-form + zod
  • 🧪 Fully tested:
    • Register ✅
    • Logout ✅
    • Login ✅
    • Protected routes redirect ✅
    • Unauthorized access redirect ✅

🧠 Final Notes:
All code follows mentor’s structure, with inline comments and maintainable logic. All functionality has been tested.

✅ Ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant