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.

Complete the Prerequisites first.

Scaffold the project

bunx create-mf2-app my-app
cd my-app
bun install

Initialize Convex

bunx convex dev
Follow the prompts to create or link a Convex project. This watches your backend code and pushes changes automatically.

Configure environment variables

Fill in your API keys. Copy .env.example to .env.local and add your values. See Environment Variables.

Start development

Don’t worry about configuring all environment variables right away. Most integrations (Stripe, PostHog, email, CMS, etc.) gracefully degrade when not configured — you can add them later as needed.
bun run dev
All apps start in parallel: To run a single app:
bun run dev --filter=app
Replace app with web, api, docs, email, or storybook.