Layout
Application Architecture Overview
Our application follows a modular architecture with clear separation of concerns between public and private sections. Here's a detailed breakdown of the structure and workflows.
Core Modules
Layout System
The application uses two primary layout types that handle different authentication states and user access levels.
Public Layout
- Purpose: Handles all unauthenticated user interactions
- Components:
- Full page with no header & footer
- Authentication forms
- Routes:
- /login
- /register
- /forgot-password
- /reset-password
Private Layout
- Purpose: Manages authenticated user interactions
- Components:
- Header
- Dynamic sidebar
- Main content area
- Features:
- Role-based access control
- Dynamic navigation
- User-specific content