.. | ||
routers | ||
__init__.py | ||
.dockerignore | ||
.gitignore | ||
database.py | ||
Dockerfile | ||
main.py | ||
models.py | ||
README.md | ||
requirements.txt |
Forum Backend
Build and run Docker container:
docker build -t forum-backend .
docker run --rm -d -p 8000:8000 forum-backend:latest
Run locally:
pip install -r requirements.txt
uvicorn forum:app --reload