Next.js Starter
TypeScript + Next.js 15Complete personality assessment app with Firebase Auth, Zustand state management,
and modern UI components.
- React 19 + TypeScript
- Firebase Authentication
- Tailwind CSS + shadcn/ui
- Admin dashboard
Flask Starter
Python + FlaskLightweight Python template with Preact frontend. Simple and straightforward,
perfect for quick prototypes.
- Flask backend
- Preact frontend
- No build tools required
- Vercel-ready
Quick Comparison
| Feature | Next.js | Flask |
|---|---|---|
| Language | TypeScript | Python |
| Framework | Next.js 15 | Flask |
| Frontend | React 19 | Preact |
| Authentication | Firebase | None |
| State Management | Zustand | localStorage |
| Styling | Tailwind CSS | CSS |
| Type Safety | ✅ Full | ❌ No |
| Best For | Production apps | Simple prototypes |
What Both Templates Include
Iframe Integration
Iframe Integration
Ready-to-use ToughTongue AI iframe embedding with proper permissions
for microphone access and event handling.
Event Handling
Event Handling
Pre-configured listeners for
onStart, onStop, and onTerminated events
to track session lifecycle.API Proxy
API Proxy
Server-side routes that securely proxy API calls, keeping your API key safe
from client-side exposure.
Session Analysis
Session Analysis
Built-in integration with the analyze endpoint to get AI-powered insights
from completed sessions.
Getting Started
Get API Credentials
Sign up at ToughTongue AI and get your API key from
the Developer Portal.
Choose Your Template
Pick the template that matches your tech stack and follow the quickstart guide.
Next Steps
Next.js Starter
Full guide for the Next.js starter
Flask Starter
Full guide for the Flask starter