An AI-powered study platform designed for engineering students. Learnix combines course management, AI-assisted learning tools, and productivity features into a single, cohesive workspace.
Deployed Application: 👉 https://learnix-ai-powered-study-platform.vercel.app/
Demo Video:
- Upload a PDF lecture note and get a concise summary in seconds
- Ask the AI tutor any academic question and receive detailed explanations
- Generate flashcards from your study materials for quick revision
- Create practice quizzes to test your understanding before exams
- Join official course channels to access shared resources
- Create private study groups and invite classmates
- Chat in real-time with group members about coursework
- Share files, notes, and resources within your courses.
- Keep all your course materials in one searchable location
- Upload and organize PDFs, lecture slides, and reference documents
- Track your study sessions with the built-in focus timer
- Manage tasks and deadlines with the todo list
- Sign in with your institutional email
- Join your enrolled courses or create a study group
- Upload lecture PDFs to the course resource hub
- Use AI tools to summarize notes, generate flashcards, or create practice quizzes
- Collaborate with classmates via real-time chat
- Track your study time with focus sessions
- Course Hub - Organize courses and study groups with file sharing and resource management
- Study Groups - Create invite-only or open study groups with member management
- Real-time Chat - Course and group chat rooms powered by WebSockets
- AI Doubt Solver - Chat with an AI tutor for instant explanations and academic assistance
- PDF Summarizer - Generate concise summaries from lecture notes and documents
- Flashcard Generator - Automatically create flashcards from uploaded PDFs
- Quiz Generator - Generate practice quizzes from course materials
- Focus Timer - Built-in Pomodoro timer with session tracking
- Todo List - Task management with completion tracking
- Profile & Stats - View study statistics and progress
- Next.js 14
- React 18
- Tailwind CSS
- Socket.IO Client
- Framer Motion
- Node.js with Express 5
- Prisma ORM
- Socket.IO
- Firebase Authentication
- PostgreSQL
- Firebase Firestore
- Cloudinary (File Storage)
- FastAPI
- Google Gemini AI
- pdfplumber (PDF processing)
learnix/
├── frontend/ # Next.js application
│ └── src/
│ ├── app/ # App router pages
│ ├── components/# React components
│ ├── context/ # React context providers
│ └── lib/ # Utilities and config
├── backend/ # Express.js API server
│ └── src/
│ ├── controllers/
│ ├── middlewares/
│ ├── models/
│ └── routes/
└── ml/ # FastAPI ML service
- Node.js 18+
- Python 3.10+
- PostgreSQL
- Firebase project (for authentication)
- Cloudinary account (for file storage)
- Google AI API key (for Gemini)
NEXT_PUBLIC_API_URL=http://localhost:9000
NEXT_PUBLIC_SOCKET_URL=http://localhost:9000PORT=9000
DATABASE_URL=postgresql://user:password@localhost:5432/learnix
FRONTEND_URL=http://localhost:3000
ML_SERVICE_URL=http://localhost:8000
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secretGOOGLE_API_KEY=your_gemini_api_keygit clone https://github.com/your-username/learnix.git
cd learnixcd frontend
npm install
npm run devcd backend
npm install
npx prisma migrate dev
npm run devcd ml
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload --port 8000Start all three services:
| Service | Command | URL |
|---|---|---|
| Frontend | npm run dev |
http://localhost:3000 |
| Backend | npm run dev |
http://localhost:9000 |
| ML | uvicorn main:app |
http://localhost:8000 |
The application uses PostgreSQL with Prisma ORM. Key models include:
- User - Authentication and profile data
- Course - Courses and study groups
- CourseEnrollment - User-course relationships
- ChatMessage - Real-time chat messages
- AIChat / AIChatMessage - AI conversation history
- fileSummary / fileFlashcards / fileQuiz - AI-generated content
Run migrations:
cd backend
npx prisma migrate devPOST /auth/login- User login/registration
GET /api/courses- List enrolled coursesPOST /api/courses/join- Join a coursePOST /api/courses/create-study-group- Create study group
POST /api/courses/summarize/:courseId- Summarize PDFPOST /api/courses/flashcards/:courseId- Generate flashcardsPOST /api/courses/quiz/:courseId- Generate quizPOST /api/courses/send-ai-chat-message/:chatId- Chat with AI
GET /api/chat/:courseId/history- Get chat history
Ensure prisma generate runs during build:
{
"scripts": {
"build": "prisma generate",
"postinstall": "prisma generate"
}
}Set environment variables in your Vercel project settings.
Deploy as a containerized service or use platforms like Railway, Render, or Google Cloud Run.
ISC
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a pull request.