13 lines
175 B
Python
13 lines
175 B
Python
import fastapi
|
|
import uvicorn
|
|
|
|
#Import routes
|
|
from app.api.v1.posts import router as post_router
|
|
|
|
app = fastapi.FastAPI()
|
|
|
|
#Include routes
|
|
app.include_router(post_router)
|
|
|
|
|