RESTful Backend API built with Laravel for managing kidney health records including authentication, fluid intake, blood pressure, weight monitoring, medications, schedules, and health reports.
KidneyMate provides a complete REST API for authentication, health monitoring, scheduling, reporting, and patient management.
Secure authentication using JWT Token with login, register, logout, and profile management.
Record daily fluid intake, monitor progress, and help patients stay within their recommended limit.
Store systolic, diastolic, pulse, and measurement history for better health monitoring.
Keep track of body weight records before and after dialysis sessions.
Manage dialysis schedules and upcoming treatment sessions with reminders.
Generate summaries, statistics, and health reports from recorded patient data.
Below are the primary REST API endpoints available in KidneyMate.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/register | Register a new account |
| POST | /api/login | Authenticate user |
| POST | /api/logout | Logout current user |
| GET | /api/me | Authenticated user information |
| PUT | /api/profile | Update profile |
| GET | /api/dashboard | Dashboard summary |
| GET | /api/fluid | Fluid intake records |
| GET | /api/weight | Weight records |
| GET | /api/blood-pressure | Blood pressure records |
| GET | /api/reports | Monthly & health reports |
Every endpoint returns a consistent JSON structure, making it easy to integrate with any frontend application.
Authorization: Bearer your_access_token
Accept: application/json
{
"status": true,
"message": "Dashboard fetched successfully.",
"data": {
"health_score": 87,
"summary": {
"average_bp": "123 / 81",
"weight": 67.8,
"fluid_goal": 60,
"medication": 95
}
}
}