SB
SmartBrief AI· Admin○ Connecting…
← Dashboard
🏗
Monolithic Architecture
Admin → Claude APIPUT /api/content/[section]data/content.json → Dashboard reads on every load. All within one Next.js app — no separate backend or database needed.
🔑 API Configuration
Key stored in browser localStorage · AI calls go directly browser → Anthropic · Generated content saved to local server file
📋 Content Sections
Section
Status
Last Updated
Model
Actions
🏠
AI Brief
Home panel — market headline, bullet points & macro drivers
○ Static
📰
News Feed
10 global financial news items with AI analysis & trust scores
○ Static
💡
Market Insights
6 investment themes and conviction calls with ticker lists
○ Static
📅
Economic Calendar
10 upcoming economic events with estimates & impact ratings
○ Static
📊
Live Ticker
20-item top bar — market prices & % changes
○ Static
🏦
Central Banks
All 9 CBs — rates, next meetings, cut/hold probabilities
○ Static
⏱ Auto-Refresh
Manual only — click Generate when you want fresh AI content
🔌 Backend API Reference
GET/api/contentFetch all AI-generated sections (used by dashboard on load)
POST/api/contentSave a section { section, data, model }
GET/api/content/[section]Fetch one section by name
PUT/api/content/[section]Update a section { data, model }
DELETE/api/content/[section]Remove one section from store
DELETE/api/contentWipe all sections — restore static data on next page load
Data persists to data/content.json in the project root · Survives server restarts
SmartBrief AI · Monolithic architecture · Next.js API routes · File-based persistence