feat(api): update backend writeup

This commit is contained in:
minhtrannhat 2024-03-03 00:23:13 -05:00
parent fc67230020
commit 9abd4c4867
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062

View File

@ -3,3 +3,8 @@
## Structure ## Structure
- Use FastAPI's `router` to organize different API routes - Use FastAPI's `router` to organize different API routes
- Separate folder for PostgreSQL migrations: Might need a better migration tool. Right now, `alembic` only works with SQLalchemy.
- Use Pydantic data validation always
## TODO list
- [ ] Setup Docker image and k8s for the API: 3 containers: API, Redis and PostgreSQL.