You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
COGNI 2.0 is an open-source AI-based curriculum management system designed for students and enthusiasts who want to personalize and track their learning journey. The platform uses AI to generate custom curricula, quizzes, and provides an AI mentor for learning assistance.
Features
🔐 Authentication - JWT-based secure authentication with bcrypt password hashing
📚 AI Curriculum Generation - Generate personalized learning paths using Google Gemini AI
📝 Quiz System - AI-generated quizzes with automatic grading and weak topic analysis
🤖 AI Mentor - Context-aware chat assistant for learning support
👨💼 Admin Dashboard - User management and system statistics
💳 Credit System - Credit-based usage for AI features
Tech Stack
Category
Technologies
Runtime
Node.js
Framework
Express.js
Database
PostgreSQL
ORM
Prisma
AI
Google Generative AI (Gemini 2.0 Flash)
Validation
Zod
Auth
JWT + Bcrypt
Getting Started
Prerequisites
Node.js 18+
PostgreSQL database
Google AI API key (optional - users can provide their own)
Installation
# Clone the repository
git clone <repo-url>cd backend
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your database URL and secrets# Run database migrations
npx prisma migrate dev
# Start development server
npm run dev