forum-app/backend
2024-04-05 19:28:27 -04:00
..
__init__.py feat: add database support 2024-04-01 00:43:12 -04:00
.dockerignore update Dockerfile 2024-04-05 19:21:39 -04:00
.gitignore update .gitignore 2024-04-05 19:01:00 -04:00
database.py chore: PEP8 2024-04-05 16:41:51 -04:00
Dockerfile update Dockerfile 2024-04-05 19:21:39 -04:00
main.py add /catalog route 2024-04-05 19:28:27 -04:00
models.py remove unused import 2024-04-05 19:07:23 -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