Add project model, routes and logic. WIP
This commit is contained in:
parent
7a62ff58a3
commit
bbe0df9546
4 changed files with 76 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from fastapi import FastAPI
|
|||
|
||||
from app.config import settings
|
||||
from app.database import create_database
|
||||
from app.routers import example_route
|
||||
from app.routers import example_route, project_route
|
||||
|
||||
app = FastAPI(
|
||||
title=settings.app_name,
|
||||
|
|
@ -15,4 +15,8 @@ def startup():
|
|||
|
||||
app.include_router(
|
||||
example_route.router
|
||||
)
|
||||
|
||||
app.include_router(
|
||||
project_route.router
|
||||
)
|
||||
Loading…
Reference in a new issue