Case study

Path Trader

Premium full-stack SaaS for Brazilian traders — journaling, analytics, an AI assistant, and a partner program.

Path Trader dashboard with performance analytics
Overview

Path Trader is an independent, self-funded platform that helps traders journal their operations, review performance, manage risk, and run a partner program. It is built as a TypeScript monorepo (pnpm + Turborepo) with four Next.js 16 surfaces — the web app, the marketing site, the admin panel, and the landing page — backed by a NestJS 11 API on Prisma and PostgreSQL. The product ships realtime notifications with Pusher, AWS S3/SES for storage and email, pg-boss Postgres-backed queues, and an OpenAI-powered chat assistant with usage tracking. Authentication uses NextAuth v5 on the web and JWT + Passport on the API, while the journal and documents are powered by Lexical. It is delivered as a Serwist PWA with Sentry observability and GitHub Actions CI deploying to Vercel and Fly.

Highlights
pnpm + Turborepo monorepo with a shared Prisma schema and four Next.js 16 surfaces
Trade journal with imports/exports and path-rank style performance analytics
OpenAI-powered assistant with usage-aware behavior and tracking
Asaas subscriptions plus a partner program with admin approval workflows
Realtime notifications (Pusher), AWS S3/SES, and pg-boss queues
Serwist PWA with Sentry observability and GitHub Actions CI/CD
Technologies
TurborepoNext.jsNestJSReactTypeScriptPrismaPostgreSQLTailwind CSSAWSOpenAI