- Problem
- Solution
- Quick Start (Windows PowerShell)
- Tech Stack
- Core Pages
- Project Structure
- How It Works
- Feature Status
- Contribution Opportunities
- Contributing
- License
LearnX is a community-driven platform where anyone can learn anything in simple, structured steps. Users pick a topic (any category) or create their own, and AI automatically generates a complete learning track with modules, lessons, and small actionable tasks.
Learning on the internet is scattered. YouTube video series, blogs, courses, docs — everything is everywhere. Most people struggle because they don’t get a clear step-by-step path to follow. They waste time deciding what to learn next.
LearnX converts any topic into a structured learning journey. Just type the topic → AI generates lessons → users follow each step and track progress. This removes confusion and makes learning simpler, cleaner, and faster.
npm install
npm run devNow open → http://localhost:3000
Create a .env.local file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret_key
NEXTAUTH_URL=http://localhost:3000Note: Generate a secure NEXTAUTH_SECRET by running:
openssl rand -base64 32Create a .env.local file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret_key
NEXTAUTH_URL=http://localhost:3000Note: Generate a secure NEXTAUTH_SECRET by running:
openssl rand -base64 32- Next.js (App Router)
- NextAuth.js v5 (Authentication)
- MongoDB + Mongoose (Database)
- NextAuth.js v5 (Authentication)
- MongoDB + Mongoose (Database)
- Tailwind CSS
- TypeScript
- Framer Motion
| Page | Link |
|---|---|
| Home | / |
| Sign n | /signin |
| Sign Up | /signup |
| Profile | /profile (Protected - requires authentication) |
| Roadmap | /roadmap |
| GitHub Repo | https://github.com/tilakjain619/LearnX |
| Contributing Guide | CONTRIBUTING.md |
| License | LICENSE |
app/ → routes + pages
public/ → static assets
next.config.ts → next config
tsconfig.json → ts config
package.json → dependencies
LearnX transforms any topic into a clear, step-by-step learning path using AI.
1. Enter a topic
Users can choose a topic (e.g., “DSA”, “React”, “Java”, “Machine Learning”, “Cloud Computing”) or create their own.
2. AI generates a structured roadmap
The system breaks the topic into:
- Modules
- Lessons
- Small actionable tasks
3. Follow the steps
Users complete tasks one by one.
4. Track progress
Each module shows completion status so learners always know what to do next.
| Feature | Status | Notes |
|---|---|---|
| User Authentication | ✅ Complete | Email/password signup, signin, logout, session management |
| User Profile Management | ✅ Complete | View and update profile (name, avatar) |
| Protected Routes | ✅ Complete | Middleware protection for authenticated pages |
| AI topic → auto lessons (v1) | 🚧 In Progress | Type a topic and generate structured modules & lessons (v1) |
| Category discovery | 🔜 Planned | Curated categories (Tech, Finance, etc.) |
| Learning progress tracking | 🔜 Planned | Mark lessons done, resume where left off, completion % |
| Quizzes & mini-assignments | 🔜 Planned | Auto-generated checks and instant feedback |
| Public paths & sharing | 🔜 Planned | Publish and share learning paths |
| Streaks & leaderboard | 🔜 Planned | Daily streaks and friendly leaderboard |
Want to help improve LearnX? Here are great places to start:
- ✔️ Add new features from the Feature Table
- ✔️ Improve UI/UX on the Roadmap page
- ✔️ Work on progress tracking logic
- ✔️ Write documentation (README, guides, examples)
- ✔️ Fix bugs listed in Issues
Start by checking open issues:
👉 https://github.com/tilakjain619/LearnX/issues
flowchart TB
A[User enters topic] --> B[AI analyzes topic]
B --> C[Generate modules]
C --> D[Generate lessons & tasks]
D --> E[Display roadmap]
E --> F[User completes steps]
F --> G[Progress tracking]
PRs and ideas are welcome!
Please check → CONTRIBUTING.md before submitting.
MIT — see LICENSE for details.