forum-app/backend
2024-04-05 16:41:51 -04:00
..
__init__.py feat: add database support 2024-04-01 00:43:12 -04:00
database.py chore: PEP8 2024-04-05 16:41:51 -04:00
Dockerfile feat: add Dockerfile for backend 2024-03-31 22:17:12 -04:00
forum.db feat: add database support 2024-04-01 00:43:12 -04:00
forum.py add get_db method 2024-04-01 17:25:32 -04:00
models.py add is_closed column to Thread class 2024-04-01 17:26:01 -04:00
README.md docs(backend): add Docker instructions 2024-03-31 22:20:31 -04:00
requirements.txt feat: add database support 2024-04-01 00:43:12 -04:00

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