Add basic FastAPI structure and random string generator

This commit is contained in:
2026-03-01 11:03:51 +02:00
parent c2099f906c
commit 1e69590eaa
4 changed files with 27 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
from fastapi import FastAPI, HTTPException
from fastapi.responses import RedirectResponse
app = FastAPI()
@app.get("/")
def home():
return {"message": "URL Shortener API"}