Initial commit: Rentman Clone - Phase 0-6 (T001-T023)

Completed:
- Phase 0: Project Setup (T001-T003) - Docker Compose, FastAPI skeleton, React SPA
- Phase 1: Auth System (T004-T008) - DB models, JWT auth, RBAC middleware, user management
- Phase 2: Contacts & Tags (T009-T011) - CRUD API + UI
- Phase 3: Equipment Catalog (T012-T014) - Models, API, UI with barcode/QR
- Phase 4: Crew Management (T015-T017) - Models, availability, UI
- Phase 5: Vehicle Fleet (T018-T020) - Models, assignments, UI
- Phase 6: Projects (T021-T023) - Project hierarchy models, CRUD API, list/detail UI
This commit is contained in:
Agent Zero
2026-05-31 20:36:42 +00:00
commit 7f7da15965
135 changed files with 18980 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
"""API v1 router aggregates all v1 endpoint routers."""
from fastapi import APIRouter
from app.api.v1.health import router as health_router
from app.api.v1.auth import router as auth_router
from app.api.v1.users import router as users_router
from app.api.v1.roles import router as roles_router
from app.api.v1.contacts import router as contacts_router
from app.api.v1.tags import router as tags_router
from app.api.v1.equipment import router as equipment_router
from app.api.v1.stock_locations import router as stock_locations_router
from app.api.v1.equipment_groups import router as equipment_groups_router
from app.api.v1.crew import router as crew_router, avail_router as crew_avail_router
from app.api.v1.vehicles import router as vehicles_router, assign_router as vehicle_assign_router
from app.api.v1.projects import router as projects_router
api_v1_router = APIRouter()
api_v1_router.include_router(health_router, tags=["health"])
api_v1_router.include_router(auth_router, tags=["auth"])
api_v1_router.include_router(users_router, tags=["users"])
api_v1_router.include_router(roles_router, tags=["roles"])
api_v1_router.include_router(contacts_router, tags=["contacts"])
api_v1_router.include_router(tags_router, tags=["tags"])
api_v1_router.include_router(equipment_router, tags=["equipment"])
api_v1_router.include_router(stock_locations_router, tags=["stock-locations"])
api_v1_router.include_router(equipment_groups_router, tags=["equipment-groups"])
api_v1_router.include_router(crew_router, tags=["crew"])
api_v1_router.include_router(crew_avail_router, tags=["crew-availabilities"])
api_v1_router.include_router(vehicles_router, tags=["vehicles"])
api_v1_router.include_router(vehicle_assign_router, tags=["vehicle-assignments"])
api_v1_router.include_router(projects_router, tags=["projects"])