● API Online

KidneyMate REST API

RESTful Backend API built with Laravel for managing kidney health records including authentication, fluid intake, blood pressure, weight monitoring, medications, schedules, and health reports.

View Source Code Version 1.0 Laravel 13 PHP 8.3
Features

Everything you need to manage kidney health

KidneyMate provides a complete REST API for authentication, health monitoring, scheduling, reporting, and patient management.

🔐

Authentication

Secure authentication using JWT Token with login, register, logout, and profile management.

💧

Fluid Tracking

Record daily fluid intake, monitor progress, and help patients stay within their recommended limit.

🩺

Blood Pressure

Store systolic, diastolic, pulse, and measurement history for better health monitoring.

⚖️

Weight Monitoring

Keep track of body weight records before and after dialysis sessions.

📅

Schedule Management

Manage dialysis schedules and upcoming treatment sessions with reminders.

📊

Reports & Analytics

Generate summaries, statistics, and health reports from recorded patient data.

API Reference

Available Endpoints

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
Response Example

Standard JSON Response

Every endpoint returns a consistent JSON structure, making it easy to integrate with any frontend application.

Request GET /api/dashboard
Authorization: Bearer your_access_token
Accept: application/json
Response 200 OK
{
    "status": true,
    "message": "Dashboard fetched successfully.",
    "data": {
        "health_score": 87,
        "summary": {
            "average_bp": "123 / 81",
            "weight": 67.8,
            "fluid_goal": 60,
            "medication": 95
        }
    }
}
20+
REST Endpoints
JSON
Response Format
CRUD
Complete Resources
v1.0
Current Version