Skip to content

Latest commit

Β 

History

History
40 lines (34 loc) Β· 1.01 KB

File metadata and controls

40 lines (34 loc) Β· 1.01 KB

πŸ“š AI-Powered Learning Path Backend API

This is a RESTful backend built with Node.js, Express.js, and MongoDB that allows users to register, manage profiles, and receive personalized learning paths powered by Gemini AI.

πŸš€ Features

  • πŸ” JWT Authentication (Login & Registration)
  • πŸ‘€ User Profiles with grades, goals, preferences
  • 🧠 AI-generated Learning Paths (Gemini API)
  • βœ… Module Completion Tracking
  • πŸ“š CRUD for Learning Paths
  • πŸ”„ Protected Routes via Middleware
  • πŸ“¦ Built with Mongoose & Express

πŸ—οΈ Project Structure

ontrollers/ β”‚ β”œβ”€β”€ User.controllers.js β”‚ β”œβ”€β”€ learningPathController.js β”‚ └── profileController.js β”‚ β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ User.js β”‚ β”œβ”€β”€ Profile.js β”‚ └── LearningPath.js β”‚ β”œβ”€β”€ routes/ β”‚ └── routes.js β”‚ β”œβ”€β”€ middleware/ β”‚ └── authMiddleware.js β”‚ β”œβ”€β”€ utils/ β”‚ └── generateLearningPath.js β”‚ β”œβ”€β”€ .env β”œβ”€β”€ server.js └── package.json