forum-app/backend
2024-04-06 15:29:08 -04:00
..
routers add jwt validation 2024-04-06 15:29:08 -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 backend .gitignore 2024-04-06 13:55:38 -04:00
database.py chore: PEP8 2024-04-05 16:41:51 -04:00
Dockerfile use alpine instead of bookworm 2024-04-05 19:32:59 -04:00
main.py chore: refactor 2024-04-06 14:50:59 -04:00
models.py feat: add login and user creation endpoints 2024-04-06 14:51:28 -04:00
README.md docs(backend): add Docker instructions 2024-03-31 22:20:31 -04:00
requirements.txt implement jwt 2024-04-06 15:08:41 -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