A modern Next.js application built with Supabase integration.
Note: The OpenAI Apps SDK MCP server and widget code now live in the sibling
flowtra-mcpproject. Run MCP-related tooling from that repository.
- Next.js 16 with App Router
- React 19
- TypeScript with strict mode
- TailwindCSS v4 with dark mode support
- Supabase for database and authentication
- ESLint for code linting
- Install dependencies:
pnpm install- Start the development server:
pnpm dev- Open http://localhost:3000 with your browser to see the result.
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Run ESLintpnpm type-check- Run TypeScript type checking
The following environment variables are required:
NEXT_PUBLIC_SUPABASE_URL- Your Supabase project URLNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY- Your Supabase publishable key (client-side)SUPABASE_SECRET_KEY- Your Supabase secret key (server-side only, for admin operations)
flowtra/
├── app/ # Next.js App Router pages
├── components/ # React components
├── lib/ # Utility functions and configurations
├── hooks/ # Custom React hooks
├── public/ # Static assets
└── ...