Loading...
Loading...
This dashboard is a web-based interface built using **Next.js (or Astro)** and hosted on **Vercel**. It acts as the control center for Joeyβs stock intelligence, allowing you to:
# π§ Joey Developer Dashboard (Vercel + API Integration) ## π Purpose This dashboard is a web-based interface built using **Next.js (or Astro)** and hosted on **Vercel**. It acts as the control center for Joeyβs stock intelligence, allowing you to: * View, verify, and debug live stock data from Yahoo Finance and SEC EDGAR * Manage API endpoints your Flutter app will connect to * Experiment with Joeyβs GPT stock summaries before theyβre sent to users * Train and test Joeyβs tone and logic using real OpenAI GPT API * See what Joey sees β in a clean, visual way * Monitor online users and their portfolio trends (aggregated, anonymized) * Track system usage, token consumption, and user interactions with GPT --- ## β Why This Is a Great Idea | Benefit | Explanation | | ------------------------- | ----------------------------------------------------------- | | π§ͺ Test before going live | View raw data and debug in-browser before sending to app | | π― Centralize logic | API routes + frontend live in one Vercel project | | π Easier dev workflow | Visual dashboard is faster than app-only testing | | π§ Joey's brain HQ | GPT summaries, insights, and picks β all editable here | | π£οΈ Train Joeyβs AI voice | Craft, preview, and fine-tune how Joey responds to users | | π See user trends | Gain insight into what stocks users are buying and watching | | π Analyze usage | Track Joey's prompt-response logs and OpenAI token usage | --- ## π Product Requirements Document (PRD) ### β Objective To build a developer/admin dashboard that enables real-time viewing, testing, monitoring, and configuration of the Joey AI stock assistant ecosystem. ### π§© Features to Build | Feature | Type | Description | | ----------------------- | -------- | -------------------------------------------------------- | | Quote Viewer | Page | Query live stock data by ticker using `yfinance` | | Pro Picks Viewer | Page | Load and visualize SEC 13F filings by CIK number | | Discover Preview | Page | Show AI-generated weekly stock recommendations | | Joey Agent Playground | Page | Test and fine-tune GPT prompts for Joey | | Prompt Template Manager | Page | Create/edit/save GPT system prompt templates | | Prompt Logs Viewer | Page | Log history of GPT prompts/responses with rating buttons | | Market Scanner | Page | Live feed of top movers, high-volume stocks, and trends | | User Monitor | Page | Show anonymous user activity and trending holdings | | Analytics Dashboard | Page | Show API call count, token usage, top stocks/questions | | Admin Tools | Page | Manual cache clear, data push, and error viewer | | Admin Users | Page | View and manage user accounts, assign Pro roles | | API Endpoints | Backend | RESTful routes for data and AI integration | | Supabase Integration | DB Layer | Store and retrieve all user, log, and trend data | ### π Tech Stack | Layer | Tech | | ------------ | ------------------------------------------------------------ | | Frontend | Next.js (preferred), TailwindCSS, TypeScript | | Backend APIs | Node.js API routes in Next.js (or separate Python if needed) | | Hosting | Vercel (frontend + API routes) | | GPT Service | OpenAI API (GPT-3.5 or GPT-4) | | Database | Supabase (PostgreSQL) + Edge Functions if needed | ### π§βπ» Dev Notes * Secure pages with basic admin auth or Supabase auth * Store OpenAI keys securely in `.env.local` and Vercel * Use serverless functions for all API routes to simplify maintenance * Token tracking and logs should include timestamps, user context, and feedback * Flutter app must be able to consume all API endpoints via HTTPS --- ## π§± Recommended Structure ``` joey-dashboard/ βββ pages/ β βββ index.tsx β Dashboard UI homepage β βββ discover.tsx β Preview Joey's AI picks β βββ pro-picks.tsx β View SEC 13F holdings β βββ joey-agent.tsx β π§ Test and train Joeyβs AI responses β βββ users.tsx β π View online users & portfolio insights β βββ scanner.tsx β π Real-time stock feed & trending stocks β βββ prompt-logs.tsx β π View prompt-response history with feedback β βββ templates.tsx β π§© Prompt template manager β βββ analytics.tsx β π Dashboard usage and token tracking β βββ admin/users.tsx β π Manage user accounts and Pro access β βββ api/ β β βββ quote.ts β Pull data from yfinance β β βββ batch-quote.ts β Multiple stock fetch β β βββ pro-picks.ts β SEC filings parser β β βββ summary.ts β GPT stock explainer β β βββ users.ts β Return active users + stocks (from Supabase) β β βββ logs.ts β Joey prompt history storage β β βββ templates.ts β Load/save Joey prompts β β βββ stats.ts β Token + app usage stats βββ components/ β Cards, charts, tables, AI prompt input βββ styles/ β Dashboard styling βββ lib/ β Supabase and fetch helpers βββ .env.local β API keys, tokens βββ vercel.json β Vercel config ``` Let me know if you want the dev to also get a UI/UX checklist, milestone tracker, or starter template.
SkillSprout is an AI-powered microlearning platform designed to help users learn new skills through bite-sized lessons and adaptive quizzes. The platform leverages Azure OpenAI for content generation, Gradio for user interaction, and Model Context Protocol (MCP) for agent interoperability.
Gemini Code Flow is an advanced AI-powered development orchestration platform that adapts RuV's Claude Code Flow for Google's Gemini CLI. It enables developers to leverage multiple AI agents working in parallel to write, test, and optimize code using the SPARC methodology.
**Version: 6.0 (FINAL)**