How rakeshgombi/employee-feedback-management-system works
Main Components
A. Frontend Layer (Angular):
• Present as a client-side block with these key modules:
• Core Components (Dashboard, Profile, Signin)
• Employee Management (Employees, Departments, Designations)
• Feedback System (Evaluation, Evaluator, Tasks)
• Common Services Layer
• Authentication/Authorization Guards
• Error Handling Components
B. Backend Layer (FastAPI):
• Present as a server-side block with these components:
• API Routers (auth, departments, employees, evaluator, ratings, tasks)
• Database Interface (db.py)
• Schema Definitions (inputSchemas.py, resSchemas.py)
• Authentication System (token.py)
• System Settings
C. Database Layer:
• Although not explicitly shown in the file tree, the db.py suggests a database component
[Client Tier (Angular Frontend)]
• ↕
[Application Tier (FastAPI Backend)]
• ↕
[Data Tier (Database)]
Detailed Component Breakdown
Frontend (Angular) Section:
[Core Module]
• ↓
[Feature Modules]
• Departments
• Designations
• Employees
• Evaluation
• Tasks
• ↓
[Services Layer]
• Data Services
• Authentication
• API Integration
Backend (FastAPI) Section:
[API Routes]
• ↓
[Business Logic]
• ↓
[Data Access Layer]
Key Interactions to Highlight
• Authentication Flow:
• Frontend Auth Guard → Backend Auth Router → Token Service
• Data Flow:
• Frontend Services → Backend Routes → Database
• Error Handling:
• Global Error Handling → Component-specific Error Handling
Additional Elements
Specific components:
• Token Interceptor Service (for API authentication)
• Role Guard (for authorization)
• Error Handling System
• Input/Response Schema Validation
Technical Details to Note
Specific integrations:
• FastAPI REST endpoints
• Angular Services communication
• JWT Token flow
• Database transactions