initialize project

Docker setup for the server, postgres and redis
This commit is contained in:
2026-04-11 18:02:14 +02:00 Unverified
commit d5ea350598
13 changed files with 360 additions and 0 deletions
View File
+15
View File
@@ -0,0 +1,15 @@
from fastapi import FastAPI
from src.proxy.router import router as proxy_router
app = FastAPI(
title="thePlugAPI",
contact={
"creator": "big_cock_man"
}
)
app.include_router(proxy_router)
@app.get("/")
async def root():
return {"Hello": "World!"}
View File
+18
View File
@@ -0,0 +1,18 @@
from fastapi import APIRouter
router = APIRouter(
prefix="/proxy",
tags=["Proxy"]
)
@router.get("/")
async def list_proxies():
return
@router.post("/")
async def create_proxy():
return
@router.put("/{proxy_port}/")
async def edit_proxy():
return