How prabhavathi11-code/student-registration-forms works
This is a student registration and management portal. Students register with profile details and a PDF Aadhaar document, then log in to view or edit their profile; administrators log in to search, inspect, edit, and delete student records. The browser API client selects the Express backend when available and otherwise simulates the same operations with localStorage. The README describes these capabilities, while source excerpts show the main client-to-API and server-to-file interactions; unsampled persistence details are represented conservatively.
Main entry points: api.js API Client & Fallback · server.js Express API · db.json JSON Records · signup.js Student Signup
Components 15
Registration & Access
- Student Signup
public/js/signup.js - Login & Recovery
public/js/login.js
Browser Application
- Admin Dashboard
public/js/admin.js - Student Dashboard
public/js/student.js - API Client & Fallback
public/js/api.js
API & Records
- Express API
server.js - Authentication
server.js - Registration & Upload
server.js - Student Record API
server.js
Persistence & Files
- JSON Records
db.json - Browser Records
public/js/api.js - Aadhaar Uploads
uploads
Other components
- Visitor
- Administrator
- Student
Connections 18
- Visitor → Student Signup: enters details
README.md - Visitor → Login & Recovery: submits credentials
README.md - Student Signup → API Client & Fallback: registers via
public/js/signup.js - Login & Recovery → API Client & Fallback: authenticates via
public/js/login.js - Administrator → Admin Dashboard: manages records
README.md - Student → Student Dashboard: views profile
README.md - Admin Dashboard → API Client & Fallback: requests records
public/js/admin.js - Student Dashboard → API Client & Fallback: loads and updates
public/js/student.js - API Client & Fallback → Express API: calls API
public/js/api.js - API Client & Fallback → Browser Records: uses fallback
public/js/api.js - Express API → Authentication: routes requests
server.js - Express API → Registration & Upload: routes requests
server.js - Express API → Student Record API: routes requests
server.js - Authentication → JSON Records: reads credentials
server.js - Registration & Upload → JSON Records: saves student
server.js - Registration & Upload → Aadhaar Uploads: stores PDF
server.js - Student Record API → JSON Records: reads and updates
server.js - Student Record API → Aadhaar Uploads: replaces or removes
server.js