Platform Architecture
InvestorHints is designed for performance, scalability, and maintainability. Our architecture leverages modern serverless patterns and a modular frontend to deliver a fast, reliable user experience.
Frontend
Next.js 15, React 19, Tailwind CSS 4, and shadcn/ui. Optimized for Core Web Vitals and SEO.
Backend
Next.js Server Actions and API Routes. Edge-ready serverless execution on Vercel.
Database
MongoDB Atlas for flexible, document-based storage. Mongoose for structured data modeling.
Infrastructure
Vercel for CI/CD, hosting, and global edge network. Sentry for real-time monitoring.
Core Technology Stack
- Framework:Next.js 15 (App Router) with Turbopack for lightning-fast builds.
- Language:TypeScript (Strict Mode) for end-to-end type safety.
- Styling:Tailwind CSS 4 with a custom theme and dark mode support.
- Auth:Better Auth for secure, developer-friendly authentication.
Data Flow & State
The platform follows a unidirectional data flow. Server components fetch data directly from MongoDB, while client components handle interactive state. Server Actions are used for data mutations, ensuring security and reducing client-side bundle size.