API Sistem Informasi Manajemen Rumah Sakit adalah API yang dibuat untuk membuat aplikasi Web,Moblie, dll
- Login Dokter
- Get data pasien Dokter
- Cek rekam medis
POST /api/auth/login/dokter
Parameter | Type | Description |
---|---|---|
body |
json |
{"user": "xx","password" : "xx"} |
response |
json |
|
{ "status": true,
"message": "Login dokter Berhasil",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1hIjoiZHIuIFJVQ0hBTklIQURJLCBTcC5QRCIsIm5payI6IkQxIiwiamFiYXRhbiI6IkRva3RlciIsImprIjoiUHJpYSIsImlhdCI6MTY2MzQ4OTQzMn0.2SMOQ18S6_svMQLO0iKkOJT-EZORM4Ph2nlyfyn1AKs",
"data": {
"nama": "dr. RUCHANIHADI, Sp.PD",
"nik": "D1",
"jabatan": "Dokter",
"jk": "Pria"
}
|
API ini menggunakan database SIMRS-Khanza yang buat oleh : https://github.com/mas-elkhanza/SIMRS-Khanza
To run this project, you will need to add the following environment variables to your .env file
PORT
JWT_SECRET_KEY