Ship the last 20% of your project with AI agents or human experts.
FML is a production-ready marketing site and onramp flow that helps developers turn their prototypes into production-ready software. The application features:
- Marketing Site: Modern landing page with hero, features, testimonials, and pricing
- 3-Step Onramp Wizard: Intake → Analysis → Plan flow
- Task Board: Kanban-style project management with real-time chat
- Summon System: On-demand AI agents or human experts
- Mock Checkout: Credit-based payment simulation
- Framework: Next.js 14 (App Router, TypeScript)
- Styling: TailwindCSS + shadcn/ui components
- State Management: Zustand with persistence
- Forms: React Hook Form + Zod validation
- Charts: Recharts for analytics visualization
- Animations: Framer Motion (subtle transitions)
- Icons: Lucide React
- Node.js 18+
- npm or pnpm
-
Clone the repository:
git clone <repository-url> cd fml-app
-
Install dependencies:
npm install # or pnpm install -
Start the development server:
npm run dev # or pnpm dev -
Open http://localhost:3000 in your browser.
src/
├── app/ # Next.js App Router pages
│ ├── api/ # API routes (mocked)
│ ├── start/ # Onramp wizard page
│ ├── tasks/ # Task board page
│ └── checkout/ # Checkout page
├── components/ # React components
│ ├── marketing/ # Landing page components
│ ├── onramp/ # Wizard flow components
│ ├── tasks/ # Task board components
│ ├── shared/ # Reusable components
│ └── ui/ # shadcn/ui components
├── store/ # Zustand state stores
├── lib/ # Utility functions
└── styles/ # Global styles
- Hero section with CTAs
- Feature cards (Fix It, Protect It, Grow It, Teach Me)
- How it works (3-step process)
- Readiness score demo with gauge
- Testimonials and pricing
- FAQ section
- Step 1: Project intake (Builder/Figma URL input)
- Step 2: Analysis with readiness score and recommendations
- Step 3: Plan review with execution mode selection
- Kanban columns (Backlog, In Progress, Review, Done)
- Task cards with progress tracking
- Quick actions bar
- Right panel with:
- Chat system with mock responses
- People & Agents management
- Task load distribution chart
- AI Agent summoning (instant, standard rates)
- Human Expert summoning (PM/FE/BE roles, timezone selection)
- Global "FML Button" for emergency help
All API endpoints return realistic mock data:
/api/analyze- Project analysis with readiness score/api/plan- Task planning with estimates/api/tasks- Task creation and management/api/summon- Agent/human summoning/api/checkout/session- Payment processing
The app includes analytics hooks (/lib/analytics.ts) with event tracking:
cta_clicked- CTA button interactionsanalysis_started- Project analysis initiationplan_created- Plan generationtask_summoned- Help summoningcheckout_started/completed- Purchase flow
- Semantic HTML structure
- Keyboard navigation support
- Focus states on interactive elements
- ARIA labels where needed
- Screen reader friendly
- Analytics: Replace no-op functions in
src/lib/analytics.tswith PostHog/Segment - Payments: Update checkout API to integrate with Stripe
- Authentication: Add auth provider to layout
- Database: Replace Zustand with real database for persistence
- Real-time: Add WebSocket support for live chat
Create .env.local for configuration:
NEXT_PUBLIC_ANALYTICS_KEY=your_analytics_key
STRIPE_SECRET_KEY=your_stripe_key
DATABASE_URL=your_database_urlThe app is ready for deployment on Vercel, Netlify, or any platform supporting Next.js:
npm run build
npm start- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
MIT License - see LICENSE file for details.