
- Set up project structure with FastAPI framework - Create database models for users, employees, departments, and job titles - Implement JWT authentication and authorization system - Set up SQLite database with SQLAlchemy ORM - Add Alembic migrations for database versioning - Create CRUD API endpoints for employee management - Implement category-based search functionality - Add OpenAPI documentation and health check endpoint - Update README with comprehensive setup and usage instructions
10 lines
544 B
Python
10 lines
544 B
Python
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import auth, users, employees, departments, job_titles
|
|
|
|
api_router = APIRouter()
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["authentication"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
|
api_router.include_router(employees.router, prefix="/employees", tags=["employees"])
|
|
api_router.include_router(departments.router, prefix="/departments", tags=["departments"])
|
|
api_router.include_router(job_titles.router, prefix="/job-titles", tags=["job_titles"]) |