askrobots / dbbasic-object-server
Public
Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.
danq9
signup: the person chooses the password and name on the confirm page
83c7aa6
2 weeks, 5 days ago
History
dbbasic-package.json · 1.5 KB · 35 lines
| 1 | { |
| 2 | "id": "app-dashboard", |
| 3 | "name": "Dashboard", |
| 4 | "version": "0.1.0", |
| 5 | "description": "User home dashboard: a page that folds existing collections into stats, not a new data model. Owns no collection and no schema -- it reads ai_usage (AI spend, grouped by model), tasks (counts by status), /api/activity (recent activity), and one-line counts from a few other collections (notes/contacts/invoices), all fetched from the browser with the caller's own session so each collection's own permissions/rules.json governs what shows up. Served at /dashboard by the single-segment site-object convention (/dashboard -> site_dashboard, same as site_activity -> /activity and site_tasks -> /tasks) -- no site_routes record is seeded or required. Ported from a private predecessor-system audit, not part of this repo: that system's dashboard also folded in a wallet/billing balance, which is infra-deferred here (no Stripe integration is built) and left out of this v1.", |
| 6 | "compatibility": { |
| 7 | "dbbasic_object_server": ">=0.1.0" |
| 8 | }, |
| 9 | "dependencies": [], |
| 10 | "objects": [ |
| 11 | { |
| 12 | "id": "site_dashboard", |
| 13 | "path": "objects/site/dashboard.py" |
| 14 | } |
| 15 | ], |
| 16 | "schemas": [], |
| 17 | "permissions": [ |
| 18 | { |
| 19 | "path": "permissions/rules.json" |
| 20 | } |
| 21 | ], |
| 22 | "seed": [], |
| 23 | "migrations": [], |
| 24 | "nav": [ |
| 25 | { |
| 26 | "id": "dashboard", |
| 27 | "label": "Dashboard", |
| 28 | "path": "/dashboard", |
| 29 | "blurb": "Server health, AI spend and collection counts on one page", |
| 30 | "surface": "operator", |
| 31 | "group": "System", |
| 32 | "order": 600 |
| 33 | } |
| 34 | ] |
| 35 | } |