Added PostgreSQL RDS database. Added channels protected endpoints. Added scripts and docker config to run application locally in dev mode.
Some checks failed
AWS Deploy on Push / build (push) Failing after 41s

This commit is contained in:
2025-05-21 14:02:01 -05:00
parent b947ac67f0
commit 489281f3eb
18 changed files with 409 additions and 125 deletions

17
app/models/schemas.py Normal file
View File

@@ -0,0 +1,17 @@
from datetime import datetime
from typing import List
from pydantic import BaseModel
class ChannelCreate(BaseModel):
"""Pydantic model for creating channels"""
urls: List[str]
name: str
group_title: str
tvg_id: str
tvg_logo: str
tvg_name: str
class ChannelResponse(ChannelCreate):
"""Pydantic model for channel responses"""
created_at: datetime
updated_at: datetime