Add RSVP routes and integrate with events API router
Some checks failed
Build and Push Docker Images / build-frontend (push) Blocked by required conditions
Build and Push Docker Images / changes (push) Successful in 4s
Build and Push Docker Images / build-backend (push) Has been cancelled

This commit introduces a new RSVP module with endpoints for creating, reading, updating, and deleting RSVPs, along with a custom status update endpoint. The router is integrated into the events API, providing full RSVP management capabilities. Validation and error handling have been implemented to ensure data consistency.
This commit is contained in:
2025-03-15 02:25:32 +01:00
parent 632a762d64
commit 85eed0eac0
2 changed files with 92 additions and 1 deletions

View File

@@ -22,11 +22,12 @@ from app.schemas.events import (
)
from app.api.routes.events import guests
from app.api.routes.events import rsvps
logger = logging.getLogger(__name__)
events_router = APIRouter()
events_router.include_router(guests.router, prefix="/guests", tags=["guests"])
events_router.include_router(rsvps.router, prefix="/rsvps", tags=["rsvps"])
def validate_event_access(
*,