c94b790714f8a421fcd401c9229d683bcbc2e046
memberapi.ose.tw backend
Quick start
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -e .
cp .env.example .env
uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload
Required DB setup
- Initialize API client whitelist table with
docs/API_CLIENTS_SQL.sql. - Initialize core tables with
backend/scripts/init_schema.sql.
Main APIs
GET /healthzPOST /internal/users/upsert-by-subGET /internal/permissions/{authentik_sub}/snapshotPOST /admin/permissions/grantPOST /admin/permissions/revoke
Description
Languages
Python
96.5%
PLpgSQL
3%
Dockerfile
0.3%
Shell
0.2%