feat(hosting): add HostWizard platform module and fix migration chain
Some checks failed
Some checks failed
- Add complete hosting module (models, routes, schemas, services, templates, migrations) - Add HostWizard platform to init_production seed (code=hosting, domain=hostwizard.lu) - Fix cms_002 migration down_revision to z_unique_subdomain_domain - Fix prospecting_001 migration to chain after cms_002 (remove branch label) - Add hosting/prospecting version_locations to alembic.ini - Fix admin_services delete endpoint to use proper response model - Add hostwizard.lu to deployment docs (DNS, Caddy, Cloudflare) - Add hosting and prospecting user journey docs to mkdocs nav Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
app/modules/hosting/routes/api/admin.py
Normal file
21
app/modules/hosting/routes/api/admin.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# app/modules/hosting/routes/api/admin.py
|
||||
"""
|
||||
Hosting module admin API routes.
|
||||
|
||||
Aggregates all admin hosting routes:
|
||||
- /sites/* - Hosted site CRUD and lifecycle
|
||||
- /sites/{id}/services/* - Client service management
|
||||
- /stats/* - Dashboard statistics
|
||||
"""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .admin_services import router as admin_services_router
|
||||
from .admin_sites import router as admin_sites_router
|
||||
from .admin_stats import router as admin_stats_router
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
router.include_router(admin_sites_router, tags=["hosting-sites"])
|
||||
router.include_router(admin_services_router, tags=["hosting-services"])
|
||||
router.include_router(admin_stats_router, tags=["hosting-stats"])
|
||||
Reference in New Issue
Block a user