๐งช Student Portal API Tester
Test API endpoints and verify database changes in MySQL Workbench
Backend API
http://localhost:3000/api
Database
student_portal (XAMPP MySQL)
Authentication
Not logged in
๐ Login First (Required for most endpoints)
๐ Role-Based Access Control:
- Student: Dashboard, Profile, Results, Attendance, Finance (own data)
- Faculty: Student + Course Management, Attendance Marking
- Admin: Full Access + User Management, Audit Logs, System Config
๐ Available Accounts:
admin@diu.edu.bd (Admin) |
iftekhar.hossain@diu.edu.bd (Student) |
dr.akter@diu.edu.bd (Faculty) |
Password: password123 for all
๐ฅ Health Check GET PUBLIC
๐ Academic - Grade Scale GET ALL USERS
๐๏ธ Academic - Departments GET ALL USERS
๐ Academic - Courses GET ALL USERS
๐จโ๐ View Students GET ADMIN/FACULTY
๐ Audit Logs GET ADMIN ONLY
โ๏ธ System Configuration GET ADMIN ONLY
๐ Blockchain Ledger Integrity GET ADMIN ONLY