Skip to content

feat(sop-203): implement authentication layer#12

Merged
eima40x4c merged 1 commit intomainfrom
feat/sop-203-authentication
Apr 10, 2026
Merged

feat(sop-203): implement authentication layer#12
eima40x4c merged 1 commit intomainfrom
feat/sop-203-authentication

Conversation

@Ahmed-Eladham
Copy link
Copy Markdown
Collaborator

  • Add Zod auth schemas (signIn, signUp, resetPassword, updatePassword)

  • Add shared TypeScript types (Profile, AuthUser, AuthState)

  • Add Supabase clients: mobile (expo-secure-store) + web (@supabase/ssr)

  • Add useAuth hook for mobile and web with TanStack Query

  • Add route guards: mobile AuthGuard + Next.js middleware

  • Add auth flow documentation with Mermaid diagrams

  • Mark SOP-201 and SOP-202 as skipped per execution brief

Description

Type of Change

  • feat — New feature
  • fix — Bug fix
  • docs — Documentation update
  • style — Formatting (no logic change)
  • refactor — Code restructuring
  • test — Adding/updating tests
  • chore — Build, config, tooling

Related Issues

Screenshots (if applicable)

Self-Review Checklist

  • Code follows the project's style guidelines
  • Self-reviewed my own code
  • Added/updated tests for changed functionality
  • Documentation updated (if needed)
  • No new warnings or errors introduced
  • Tested on both Arabic (RTL) and English (LTR) layouts (if UI change)

- Add Zod auth schemas (signIn, signUp, resetPassword, updatePassword)

- Add shared TypeScript types (Profile, AuthUser, AuthState)

- Add Supabase clients: mobile (expo-secure-store) + web (@supabase/ssr)

- Add useAuth hook for mobile and web with TanStack Query

- Add route guards: mobile AuthGuard + Next.js middleware

- Add auth flow documentation with Mermaid diagrams

- Mark SOP-201 and SOP-202 as skipped per execution brief
@eima40x4c eima40x4c merged commit 9a33a18 into main Apr 10, 2026
@eima40x4c eima40x4c deleted the feat/sop-203-authentication branch April 10, 2026 19:15
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.

2 participants