
- Complete FastAPI backend with SQLite database
- AI-powered resume parsing and job matching using OpenAI
- JWT authentication with role-based access control
- Resume upload, job management, and matching endpoints
- Recruiter dashboard with candidate ranking
- Analytics and skill gap analysis features
- Comprehensive API documentation with OpenAPI
- Alembic database migrations
- File upload support for PDF, DOCX, and TXT resumes
- CORS enabled for frontend integration
🤖 Generated with BackendIM
Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
526 B
Python
27 lines
526 B
Python
from typing import Optional, Dict, Any
|
|
from pydantic import BaseModel
|
|
from datetime import datetime
|
|
|
|
|
|
class AnalyticsBase(BaseModel):
|
|
event_type: str
|
|
event_data: Optional[Dict[str, Any]] = None
|
|
improvement_score: Optional[float] = None
|
|
session_id: Optional[str] = None
|
|
|
|
|
|
class AnalyticsCreate(AnalyticsBase):
|
|
pass
|
|
|
|
|
|
class AnalyticsResponse(AnalyticsBase):
|
|
id: int
|
|
user_id: int
|
|
created_at: datetime
|
|
|
|
class Config:
|
|
from_attributes = True
|
|
|
|
|
|
class Analytics(AnalyticsResponse):
|
|
pass |