Vendor SharedCode locally
This commit is contained in:
1 parent
a8c51b8484
commit
6eb8f4ad60
88 files changed
+9708
-275
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# `gabriel20xx-shared-backend`
|
||||
|
||||
Shared Python backend infrastructure for services using `asyncpg`:
|
||||
|
||||
- validated `DATABASE_URL` and pool settings;
|
||||
- one async pool owner with ping and graceful shutdown;
|
||||
- bcrypt password and secure session-token helpers;
|
||||
- short-lived, one-time admin reset codes printed to the server console;
|
||||
- common account/session persistence for the single-admin or optional multi-user model.
|
||||
|
||||
HTTP framework adapters stay in each service. Install this package from the
|
||||
published index or directly from the SharedCode repository with a subdirectory
|
||||
install during development:
|
||||
|
||||
```bash
|
||||
pip install "git+https://repos.gfranz.ch/Gabriel20xx/shared@v0.1.0#subdirectory=packages/python-backend"
|
||||
```
|
||||
Reference in new issue
Block a user