[go: up one dir, main page]

0% found this document useful (0 votes)
18 views1 page

Backend

Uploaded by

maheshprayaga09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Backend

Uploaded by

maheshprayaga09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

🔹 Backend Development Phases

Phase 1 – Setup & DB Connection

 Initialize project (npm init).

 Install deps.

 Setup Express + MongoDB Atlas connection.

 Create Student schema/model.

 Test route (GET /) to confirm server is running.

Phase 2 – Core Routes

 POST /upload → Upload & parse CSV → store students in DB.

 GET /students → Fetch all students from DB.

 Apply rule-based risk checks (attendance, scores, fees).

Phase 3 – ML Integration

 Connect to Python ML microservice (/predict).

 For each student → get dropout probability.

 Update riskLevel in DB accordingly.

Phase 4 – Notifications

 POST /notify → Send email via Nodemailer.

 Auto-send when high-risk student detected.

Phase 5 – Polish & Error Handling

 Handle duplicate student records.

 Add basic validation (CSV missing fields, etc.).

 Clean up API responses.

✅ So total = 5 phases.
Each phase is small and builds on the previous.

You might also like