Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mf2.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

The apps/app directory contains the core SaaS application built on Next.js. It wires together authentication, real-time data, AI chat, billing, and collaboration.

Overview

The primary application your users interact with. It splits into authenticated and unauthenticated route groups, so public pages and protected dashboards coexist in the same codebase.
turbo dev --filter=app

Features

  • Design System: shadcn/ui components, hooks, and utilities.
  • Authentication: Clerk login, sign-up, organizations, and route protection. Email login included; extend it for other providers.
  • Backend: Real-time data from Convex. Queries update the UI automatically when data changes.
  • Payments: Stripe billing and subscription management.
  • Collaboration: Avatar Stack and Live Cursor components via Liveblocks.
  • AI: Streaming chat with Vercel AI SDK.