A Node.js web application to help cluster student responses by misconceptions for better feedback and instructional planning.
- Student and teacher views built with EJS templates
- Backend powered by Express and MongoDB
- Designed for analyzing and visualizing student understanding
git clone https://github.com/your-username/cluster-by-misconceptions.git
cd cluster-by-misconceptions
npm install
Create a .env
file in the root directory and add the following:
MONGODB_URI=mongodb://localhost:27017/misconceptions-db
PORT=3000
(Replace MONGODB_URI
with your MongoDB Atlas URI if deploying.)
npm start
Visit http://localhost:3000 in your browser.
To deploy on platforms like Heroku, Render, or Railway:
- Push this repo to your GitHub.
- Connect the repo in your deployment platform.
- Add your environment variables (e.g.,
MONGODB_URI
) in the platform settings. - Set the build command to
npm install
and the start command tonpm start
.
- ✨ LLM Integration: Use OpenAI or Claude to generate misconception clusters automatically.
- 📊 Analytics Dashboard: Visualize misconception trends over time per topic/class.
- 🧑🏫 Feedback Generator: Automatically suggest feedback based on clusters.
- 🧩 Tagging System: Allow manual/automatic tagging of responses by concepts.
- 🔒 Authentication: Add student/teacher login with role-based access.
- 🌍 Localization: Support multilingual student inputs and feedback.
cluster-by-misconceptions/
├── views/ # EJS templates for UI
├── server.js # Express server logic
├── db.js # MongoDB connection logic
├── package.json # Project metadata and dependencies
MIT License — feel free to fork and contribute!