chore: initial project setup with backend, frontend, and infrastructure
Add complete NexaPantry application structure including: - Docker Compose configuration with PostgreSQL, Redis, FastAPI backend, worker, frontend and Caddy - Environment configuration template with database, auth, and service settings - GitHub Actions CI workflow for backend/frontend linting, testing, auditing and Docker builds - AGPL-3.0 license and comprehensive README with setup, development, and security documentation - Backend
This commit is contained in:
14
backend/app/api/router.py
Normal file
14
backend/app/api/router.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.api.routes import admin, auth, homes, notifications, products, recipes, setup, shopping
|
||||
|
||||
api_router = APIRouter()
|
||||
api_router.include_router(setup.router, prefix="/setup", tags=["setup"])
|
||||
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
||||
api_router.include_router(admin.router, prefix="/admin", tags=["admin"])
|
||||
api_router.include_router(homes.router, prefix="/homes", tags=["homes"])
|
||||
api_router.include_router(products.router, prefix="/homes/{home_id}/products", tags=["products"])
|
||||
api_router.include_router(shopping.router, prefix="/homes/{home_id}/shopping", tags=["shopping"])
|
||||
api_router.include_router(notifications.router, prefix="/notifications", tags=["notifications"])
|
||||
api_router.include_router(recipes.router, prefix="/homes/{home_id}/recipes", tags=["recipes"])
|
||||
|
||||
Reference in New Issue
Block a user