Learnix is a modern web application built with Next.js 15, designed to provide an interactive learning experience with AI companions.
- AI Companions: Interactive AI-powered companions to guide your learning journey.
- Learning Journey Tracking: Track your progress and achievements.
- Subscription Management: Manage your subscription tiers and access.
- Secure Authentication: User authentication and management powered by Clerk.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS 4
- Authentication: Clerk
- Database: Supabase
- Monitoring: Sentry
- AI/Voice: Vapi.ai
- UI Components: shadcn/ui, Lucide React
- Design: Brutalism-inspired aesthetics
- Animations: Lottie React, TW Animate CSS
Ensure you have the following installed:
- Node.js (v18 or later recommended)
- npm, yarn, or pnpm
-
Clone the repository:
git clone <repository-url> cd learnix
-
Install dependencies:
npm install # or yarn install # or pnpm install
-
Set up environment variables:
Create a
.env.localfile in the root directory and add the necessary environment variables for Clerk, Supabase, Sentry, and Vapi.ai.
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result.
app/: Application routes and pages (App Router).components/: Reusable UI components.constants/: Constant values and configuration.lib/: Utility functions and libraries.public/: Static assets.types/: TypeScript type definitions.
npm run dev: Starts the development server with Turbopack.npm run build: Builds the application for production.npm run start: Starts the production server.npm run lint: Runs ESLint to check for code quality issues.
