.. | ||
__init__.py | ||
.gitignore | ||
database.py | ||
Dockerfile | ||
forum.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