lilith-platform.live/codebase/@features/my/backend-api
Natalie 7e6c27c100 feat(quinn-my): add show_on_site toggle to platforms (SSOT from credentials) with admin toggle to list on public site
- Added migration for show_on_site boolean on platforms_escort and platforms_content.
- Updated platforms-data handler to support PATCH for the field, serialize it, and on toggle=true auto-create default verified_profile entry (using site logo) via quinn.api admin surface. This makes platforms the SSOT for the list, and the toggle the choice to 'list on site' in verified on / banners.
- Updated my frontend: Platform type, PlatformsPage (dots + table checkbox for 'Site'), PlatformModal (dots).
- The toggle in quinn-my PlatformsPage (the admin for the credentials/platforms list) now controls populating the public verified on section.
- Verified profiles remain for rich customization (custom img/desc/href per platform); defaults use logo per prior requirement.
- Env for quinn api added to my server for the sync call.
- Matches the platforms list from quinn-my credentials (escort+content) as source of truth for which to manage/toggle.
2026-06-23 13:20:24 -04:00
..
scripts feat(prospector-quinn): Introduce AI prospecting tools (heat scoring, reply generation) and Quinn-AI gateway integration, alongside frontend UI updates, backend API refactoring, and infrastructure enhancements for edge-purge and proxy services. 2026-06-10 20:40:01 -07:00
src feat(quinn-my): add show_on_site toggle to platforms (SSOT from credentials) with admin toggle to list on public site 2026-06-23 13:20:24 -04:00
.env.development
.env.local.example
eslint.config.js
package.json
README.md
tsconfig.json
vitest.config.ts chore(backend-api): 🔧 Update dev env vars, Vitest config, and deployment examples for backend API 2026-06-08 00:10:31 -07:00

My Dashboard API

Node.js HTTP server for the Quinn personal dashboard. Port 3024.

Auth: SSO cookie (via quinn-sso-api) or service bearer token (QUINN_MY_SERVICE_TOKEN).

Dev proxy mode

When PROXY_TARGET is set, the server short-circuits every request (except /health) and proxies it upstream to the target, injecting Authorization: Bearer <QUINN_MY_SERVICE_TOKEN>. No local SQLite is touched. SSE streams (calendar sync etc.) pass through transparently — the response body is streamed, not buffered.

Copy .env.local.example to .env.local and fill in the token:

cp .env.local.example .env.local
# edit .env.local — get QUINN_MY_SERVICE_TOKEN from /etc/quinn-my-api/secrets.env on vps-0

The server logs a WARN line at boot when proxy mode is active, and prefixes each proxied request log with [PROXY→prod].

See docs/PROD_DB_UNIFICATION_PLAN.md for full architecture context.