proiect finalizat
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
"""
|
||||
The 'app' package contains de main API object plus all the routing. It also contains the 'models' for the API requests.
|
||||
"""
|
||||
Binary file not shown.
@@ -1,3 +1,10 @@
|
||||
from .user import User
|
||||
from .message import Message
|
||||
from .login import Login
|
||||
|
||||
'''
|
||||
The 'models' package contains the schematics for the API body structures. In more detail:
|
||||
- 'Login' model is used for the auth/login endpoint
|
||||
- 'User' model is used for the auto/signup and users endpoints
|
||||
- 'Message' model is used for the messages/send endpoint
|
||||
'''
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,4 @@
|
||||
from pydantic import BaseModel
|
||||
from datetime import datetime
|
||||
|
||||
|
||||
class Message(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user