Skip to content

String-sg/cluster-by-misconceptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cluster by Misconceptions

A Node.js web application to help cluster student responses by misconceptions for better feedback and instructional planning.

πŸ›  Features

  • Student and teacher views built with EJS templates
  • Backend powered by Express and MongoDB
  • Designed for analyzing and visualizing student understanding

πŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/your-username/cluster-by-misconceptions.git
cd cluster-by-misconceptions

2. Install Dependencies

npm install

3. Setup Environment Variables

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.)

4. Run the Application

npm start

Visit http://localhost:3000 in your browser.

πŸ§ͺ Deployment

To deploy on platforms like Heroku, Render, or Railway:

  1. Push this repo to your GitHub.
  2. Connect the repo in your deployment platform.
  3. Add your environment variables (e.g., MONGODB_URI) in the platform settings.
  4. Set the build command to npm install and the start command to npm start.

πŸ’‘ Potential Extensions

  • ✨ 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.

πŸ“ Folder Structure

cluster-by-misconceptions/
β”œβ”€β”€ views/               # EJS templates for UI
β”œβ”€β”€ server.js            # Express server logic
β”œβ”€β”€ db.js                # MongoDB connection logic
β”œβ”€β”€ package.json         # Project metadata and dependencies

πŸ“„ License

MIT License β€” feel free to fork and contribute!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •