ApplyFlow CRM is a Next.js + Supabase application for education centers, mentors, and students managing study-abroad admissions.
The product combines:
- student dashboards and profile management
- AI writing assignment generation and checking
- IELTS/admission essay practice
- staff views for reviewing students and submissions
- admissions tracking, document status, deadlines, and mentor assignment
- Supabase Auth with protected App Router pages
- Next.js App Router
- React
- TypeScript
- Tailwind CSS
- Supabase Auth, Database, and Storage
- Groq/OpenAI-compatible API for AI writing tools
- Cloudflare Turnstile for auth security checks
Create .env.local from .env.example:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
GROQ_API_KEY=
NEXT_PUBLIC_TURNSTILE_SITE_KEY=NEXT_PUBLIC_TURNSTILE_SITE_KEY is optional for local development. If it is missing, the login and signup forms work without the Turnstile widget.
npm install
npm run devOpen http://localhost:3000.
npm run lint
npm run build/- public landing page/auth/login- login/auth/sign-up- signup/auth/forgot-password- password reset request/auth/update-password- set a new password after reset link/protected- student dashboard/assignments- AI writing task builder and checker/profile- current user profile and writing history/students- staff student list/students/[studentId]- staff student CRM profile/staff/[staffId]- staff profile
Supabase schema and RLS changes are managed separately through SQL files in the repository. Do not change production RLS or schema without a separate review.