forum-app/backend
2024-03-31 22:25:10 -04:00
..
Dockerfile feat: add Dockerfile for backend 2024-03-31 22:17:12 -04:00
forum.py remove default posts 2024-03-31 22:25:10 -04:00
README.md docs(backend): add Docker instructions 2024-03-31 22:20:31 -04:00
requirements.txt feat(api): add post viewing and creation 2024-03-31 21:37:10 -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