This API is used for managing appointments and patients data
- Login and Register
- Make an appointment
- Check-up history
- Easy-to-use instant radiology results (AI-generated)
- Display list of available doctor
- Integrates data in databases using blockchain technology. By attaching a unique timestamp to each data entry, it ensures an accurate record of when data was created or modified. This process results in a transparent, tamper-proof and easily verifiable record for all data transactions, providing an extra layer of security and accountability.
- Etc.
- See the api-v2 branch
git clone https://github.com/ENTS-H112/mira-backend.git cd mira-backend npm iCreate a .env file based on .env.example and fill in the necessary credentials.
npm run start npm run devForce access to endpoints
http://localhost:4000/<endpoints>Response
{
"message": "Unauthorized, You need to login to access this route."
}Login
http://localhost:4000/loginBody
{
"email": "email@mail.com",
"password": "pasword",
"returnSecureToken": true
}Register
http://localhost:4000/registerBody
{
"email": "email@mail.com",
"password": "pasword",
"phoneNumber": "+62(your number)",
"username": "username",
"returnSecureToken": true
}