aura Project Architecture
Aura - AI Wellness PWA Architecture
A pnpm Monorepo with End-to-End Type Safety
User Client (PWA)
Frontend (Vue 3 / Vercel)
Backend (NestJS / Render)
Data Layer & 3rd-Party
PC Browser
Mobile Browser
Mobile Browser
(Installed PWA)
Vue 3 PWA
Views & Components
(Tailwind CSS, Chart.js)
State (Pinia)
API Layer (useApi)
NestJS API
Auth Service
(Anonymous & JWT)
Mood Entry Service
Insights Service (AI)
Firebase Auth
DeepSeek LLM API
PostgreSQL DB
(Prisma / Railway)
Redis Cache
1. User Interaction
2. Request AI Summary
3. Check Cache
4a. Cache Miss: Call AI
4b. Get AI Response
4c. Save to Cache
5. Cache Hit
6. Return Summary
7. Display Result
Verify ID Token
Return User Info
User/Profile CRUD
Mood Entry CRUD
← Back to Portfolio