Skip to content

Instantly share code, notes, and snippets.

Created June 15, 2022 10:22
What would you like to do?
Here is the main file for url shorteners
from fastapi import FastAPI
from url_shortener import router
# Create the app
app = FastAPI()
# Add the router
app.include_router(router.url_shortener, prefix="/url-shortener")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment