forked from retoor/devplacepy
Party Hardy
This commit is contained in:
@@ -42,12 +42,15 @@ sudo apt-get install -y libglib2.0-0 libpango-1.0-0 libpangoft2-1.0-0 libharfbuz
|
||||
```
|
||||
devplacepy/
|
||||
main.py # FastAPI app, router registration
|
||||
middleware/ # HTTP middlewares + shared request state (package)
|
||||
errors.py # Global exception handlers
|
||||
lifespan.py # Startup/shutdown, service registry
|
||||
config.py # Settings from env vars + .env
|
||||
database/ # dataset connection, index creation (package)
|
||||
templating.py # Shared Jinja2 environment + globals
|
||||
avatar.py # Multiavatar generation, URL builder
|
||||
utils/ # Password hashing, session mgmt, time_ago, notification hook (package)
|
||||
models.py # Pydantic schemas
|
||||
models/ # Pydantic Form models, one module per domain (package)
|
||||
push/ # Push delivery: provider protocol, Web Push, APNs, registrations
|
||||
routers/ # One file per domain (auth, feed, posts, push, ...)
|
||||
templates/ # Jinja2 HTML templates
|
||||
|
||||
Reference in New Issue
Block a user