LifeRPG_v2.0/modern/backend
2025-08-28 17:32:29 +00:00
..
.env.example backend: add FastAPI scaffold, models, oauth flow, schema 2025-08-28 17:07:21 +00:00
app.py admin: add role management endpoints + Admin UI; strengthen RBAC and add tests 2025-08-28 17:32:29 +00:00
auth.py auth: add JWT email/password auth + Login UI; security: kms rotate helper; preview sync endpoint + UI 2025-08-28 17:26:02 +00:00
crypto.py security(kms+refresh): optional KMS envelope keys + token refresh flow for Google 2025-08-28 17:14:49 +00:00
kms_rotate.py auth: add JWT email/password auth + Login UI; security: kms rotate helper; preview sync endpoint + UI 2025-08-28 17:26:02 +00:00
models.py security: add RBAC, HTTPS enforcement; add tests and CI pytest step 2025-08-28 17:29:16 +00:00
oauth.py security(kms+refresh): optional KMS envelope keys + token refresh flow for Google 2025-08-28 17:14:49 +00:00
rbac.py admin: add role management endpoints + Admin UI; strengthen RBAC and add tests 2025-08-28 17:32:29 +00:00
README_ENCRYPTION.md security: encrypt OAuth tokens at rest (Fernet) + docs 2025-08-28 17:13:30 +00:00
README_OAUTH.md backend: add FastAPI scaffold, models, oauth flow, schema 2025-08-28 17:07:21 +00:00
README.md scaffold: modern rewrite skeleton (backend + frontend PWA) + roadmap 2025-08-28 17:05:19 +00:00
requirements_full.txt security: add RBAC, HTTPS enforcement; add tests and CI pytest step 2025-08-28 17:29:16 +00:00
requirements.txt scaffold: modern rewrite skeleton (backend + frontend PWA) + roadmap 2025-08-28 17:05:19 +00:00
schema.sql backend: add FastAPI scaffold, models, oauth flow, schema 2025-08-28 17:07:21 +00:00
server.py scaffold: modern rewrite skeleton (backend + frontend PWA) + roadmap 2025-08-28 17:05:19 +00:00

Backend README

This is a minimal scaffold for the LifeRPG backend. It currently ships a tiny stdlib-based HTTP JSON endpoint for local development.

Next steps:

  • Replace with FastAPI + Uvicorn for production.
  • Add ORM (SQLAlchemy/Alembic) and migrations.
  • Add OAuth2 and integration adapters.

Run (dev):

python server.py