add .gitignore file

This commit is contained in:
andrei-mihnea-cerbu
2024-01-09 00:01:42 +02:00
parent 132c37aaf4
commit 9b183e5366
31 changed files with 38 additions and 2 deletions
@@ -0,0 +1,9 @@
from fastapi import APIRouter
from messenger_app.api.v1.models.message import Message
router = APIRouter()
@router.post("/messages/", response_model=Message)
async def create_message(message: Message):
# You would typically save the message to the database here
return message