mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
- Restore from git history (was deleted in 079b55a79)
- Delete NestJS backend and mobile app
- Create Hono/Bun server with preset moods API
- Create local-first store (moods, sequences) with 8 preset moods
- Rewrite web app: Moods page with color gradient cards and activation,
Sequences page with CRUD, auth via shared-auth-ui with guest mode
- Add CLAUDE.md, dev scripts, root CLAUDE.md entry
- 0 type errors on both server and web
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
853 B
853 B
Moodlit — Ambient Lighting & Mood App
Architecture
Local-first for moods/sequences, Hono/Bun server for preset library.
Browser → IndexedDB (Moods, Sequences)
↕ sync
mana-sync → PostgreSQL
Project Structure
apps/moodlit/
├── apps/
│ ├── web/ # SvelteKit web app (local-first)
│ ├── server/ # Hono/Bun (preset moods API)
│ └── landing/ # Astro landing page
└── package.json
Commands
pnpm dev:moodlit:web # SvelteKit dev server
pnpm dev:moodlit:server # Hono/Bun server (port 3073)
pnpm dev:moodlit:landing # Landing page
Local-First Collections
| Collection | Fields |
|---|---|
moods |
name, colors (hex array), animation, isDefault |
sequences |
name, moodIds, duration (seconds) |