https://github.com/lokeshkarra/student-rank-predictor-api
This Node.js API predicts student ranks based on their quiz history, providing insights into their performance through various metrics.
https://github.com/lokeshkarra/student-rank-predictor-api
axios express-js nodejs
Last synced: about 1 month ago
JSON representation
This Node.js API predicts student ranks based on their quiz history, providing insights into their performance through various metrics.
- Host: GitHub
- URL: https://github.com/lokeshkarra/student-rank-predictor-api
- Owner: lokeshkarra
- Created: 2025-02-01T12:36:09.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T18:02:23.000Z (8 months ago)
- Last Synced: 2025-05-28T10:37:55.175Z (4 months ago)
- Topics: axios, express-js, nodejs
- Language: JavaScript
- Homepage: https://student-rank-predictor-api.onrender.com
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Student Rank Predictor
This project is a **Student Rank Predictor** based on **NEET quiz performance**. It analyzes quiz performance data, generates insights, and predicts ranks using historical data. Additionally, it provides **topic-wise performance analysis, weak area identification, and improvement trends**.
---
## ๐ Features
โ **Performance Analysis** โ Computes accuracy, topic-wise performance, strengths, and weak areas.
โ **Weak Areas Identification** โ Identifies topics where students struggle the most and suggests improvements.
โ **Improvement Trends** โ Tracks quiz performance over time to observe trends in accuracy, speed, and scores.
โ **NEET Rank Prediction** โ Predicts NEET Rank prediction based on past quiz performance over time. (โ๏ธ Note : Rank is not accurate, soon machine learning model is added to improve results)---
## ๐ Tech Stack
- **Backend**: Node.js, Express.js
- **Data Handling**: Axios (for fetching historical quiz data)
- **Version Control**: Git, GitHub---
## ๐๏ธ Project Structure
```
/student-rank-predictor
โ๏ธโโ /routes
โ๏ธ โโโ analysisRoutes.js # API endpoints for performance analysis
โ๏ธ โโโ prediction.js
โ๏ธ
โ๏ธโโ /services
โ๏ธ โโโ analysisService.js # Core logic for analyzing performance
โ๏ธ โโโ predictionService.js
โ๏ธโโ package.json # Dependencies and scripts
โ๏ธโโ server.js # Entry point for the backend
โ๏ธโโ.env # Environment variables file
โโโ README.md # Project documentation```
---
## ๐ Installation & Setup
### > Clone the Repository
```bash
git clone https://github.com/your-username/student-rank-predictor.git
cd student-rank-predictor
```### > Install Dependencies
```bash
npm install
```### > Run the Server
```bash
npm start
```
By default, the server runs on **http://localhost:3000**.---
## Environment Variables
This application uses the following environment variables:
- `PORT`: The port on which the server will listen (e.g., `3000`).
- `NODE_ENV`: The environment in which the application is running (e.g., `development`, `production`).
- `HISTORICAL_DATA_URL`: The URL for fetching historical quiz data.
- `CURRENT_QUIZ_URL`: The URL for fetching current quiz data.
- `QUIZ_SUBMISSION_URL`: The URL for fetching quiz submission data.**Example .env file:**
---
## ๐ API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/analysis/performance/:userId` | `GET` | Get detailed performance analysis of a student |
| `/api/analysis/weak-areas/:userId` | `GET` | Identify weak areas and recommended focus |
| `/api/analysis/improvement/:userId` | `GET` | Fetch improvement trends over time |
| `/api/prediction/rank/:userId` | `GET` | Predicts Neet rank based on performance |๐ **Example Usage**
for userId : YcDFSO4ZukTJnnFMgRNVwZTE4j42
```bash
GET https://student-rank-predictor-api.onrender.com/api/analysis/performance/YcDFSO4ZukTJnnFMgRNVwZTE4j42
```---
## ๐งช Testing the API
### **Using cURL**
```bash
curl -X GET https://student-rank-predictor-api.onrender.com/analysis/performance/YcDFSO4ZukTJnnFMgRNVwZTE4j42
```### **Using Postman**
1. Open Postman
2. Make a `GET` request to `https://student-rank-predictor-api.onrender.com/analysis/performance/YcDFSO4ZukTJnnFMgRNVwZTE4j42`
3. View the JSON response---
## ๐ Future Improvements
๐น Predicting potential **college admissions** based on performance and predicted rank.
๐น Implementing **ML-based rank prediction**.
๐น Improving **data visualization** for trends and analytics.---
## ๐ License
This project is licensed under the **MIT License**.
---
๐ก **Suggestions or Issues?**
Feel free to open an [issue](https://github.com/lokeshkarra/student-rank-predictor-api/issues) or contribute via a pull request! ๐