
- 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
7 lines
317 B
Python
7 lines
317 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base # noqa
|
|
from app.models.user import User # noqa
|
|
from app.models.employee import Employee # noqa
|
|
from app.models.department import Department # noqa
|
|
from app.models.job_title import JobTitle # noqa |