AI-powered fintech platform for smart market insights, portfolio actions, and adaptive learning support.
Category
Details
Product Name
Market Intellegence
Positioning
Market analytics + user productivity + AI assistant
Core Runtime
Node.js 20, TypeScript, Express 5
Data Layer
Prisma + PostgreSQL
Smart Layer
Google GenAI + Zod-validated structured output
Reliability Layer
Redis caching, rate limiting, Winston logs, optional Sentry
Document
Purpose
Document
Purpose
---
---
README.md
Common overview (this file)
Backend README
Backend deep architecture, scripts, endpoints, envs
Frontend README
Frontend architecture and integration blueprint
Domain
Highlights
🔐 Auth
Register, login, refresh token, role-gated access
👤 Users
Profile self-service + admin user visibility
📊 Market
Symbols, summary metrics, analytics-style market news
📈 Trade Data
Paginated trade records, company filters, trade company summary
📊 Index Data
Index names, plot and compare chart data
⭐ Watchlist
Add, edit, remove personalized tracked symbols
🔔 Alerts
Threshold-based alert lifecycle management
🤖 AI
Content generation, recommendations, chat, text classification
🧠 High-Level Architecture Tree
Market Intellegence
├── Client Layer
│ ├── Web Frontend
│ └── Mobile / API Consumers
├── API Layer
│ ├── Express App
│ ├── Middleware Pipeline
│ └── Feature Routers
├── Domain Layer
│ ├── Auth
│ ├── Users
│ ├── Market
│ ├── Trade Data
│ ├── Index Data
│ ├── Watchlist
│ ├── Alerts
│ └── AI
└── Data + Infra Layer
├── PostgreSQL (Prisma)
├── Redis (cache + limiter store)
├── Winston Logging
└── Sentry Monitoring
Step
Command / Action
1
pnpm install
2
Create .env (see backend README env table)
3
pnpm generate
4
pnpm migrate
5
pnpm dev
Area
Current Setup
Build
Prisma generate + tsup bundling
Serverless Entry
api/index.mjs
Route Mapping
vercel.json routes all requests to API entry
Config Strategy
Environment-driven for local, staging, production
For full implementation details, continue with README.backend.md and README.frontend.md.