Skip to content

Refactor application routing and authentication flow - #129

Open
ujjwal-devzy wants to merge 1 commit into
mainfrom
app-router-change
Open

Refactor application routing and authentication flow#129
ujjwal-devzy wants to merge 1 commit into
mainfrom
app-router-change

Conversation

@ujjwal-devzy

Copy link
Copy Markdown
Owner
  • Updated tsconfig.node.json to include vitest.config.ts.
  • Added vitest.config.ts for Vitest configuration.
  • Refactored App.tsx to implement a new routing structure with AppRoutes and AuthGate for protected routes.
  • Introduced LoginPage, RegisterPage, and ForgotPasswordPage components for authentication.
  • Created appViewMapping.ts to manage view-to-path mappings.
  • Added tests for routing in AppRouter.test.tsx and view mapping in appViewMapping.test.tsx.
  • Updated main.tsx to wrap the application in BrowserRouter for routing support.

- Updated `tsconfig.node.json` to include `vitest.config.ts`.
- Added `vitest.config.ts` for Vitest configuration.
- Refactored `App.tsx` to implement a new routing structure with `AppRoutes` and `AuthGate` for protected routes.
- Introduced `LoginPage`, `RegisterPage`, and `ForgotPasswordPage` components for authentication.
- Created `appViewMapping.ts` to manage view-to-path mappings.
- Added tests for routing in `AppRouter.test.tsx` and view mapping in `appViewMapping.test.tsx`.
- Updated `main.tsx` to wrap the application in `BrowserRouter` for routing support.
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