Introduces a branch_user join table linking branches to users, plus
create/delete API endpoints under the auth module for managing branch
assignments. The create response includes the branch's localized name
via a join. Regenerated swagger docs to include the new endpoints.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
config.yaml carried real secrets (jwt_key, DB password) despite already
being listed in .gitignore. Untrack it, add config.example.yaml with
placeholder values, and point the README setup steps at the example file.
Rename loan_required_documents to loan_order_required_docs, simplify document fields to name/value, and map loan_types columns to name, maturity, notes, and active.
Co-authored-by: Cursor <cursoragent@cursor.com>
Revert example database settings in Docker and docs, fix Makefile migrate target, and gitignore local bank_db dumps and schema files.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace bank_db/bank_admin with example_db/example_user in config.yaml, docker-compose, Makefile, and README so pushed templates do not expose real credentials.
Co-authored-by: Cursor <cursoragent@cursor.com>
Rename users table fields and loan documents table, expand branch billing credentials, switch to /api/admin prefix, refactor auth endpoints, replace PATCH with PUT for status updates, remove file upload APIs, and regenerate Swagger with ordered tags.
Co-authored-by: Cursor <cursoragent@cursor.com>