Introduction
::: highlight yellow 📌
This Documentation is Still on Development Progress...
:::
Overview
::: highlight green 💡
In this Article, we will help you to handle about Registration User in order to use Chat API.
:::
Chat API Integration project is integration between Diarybunda and Alodokter in order to handle chat from patient/user via partner platform to Alodokter Chat feature.
The communication between Diarybunda and Alodokter will be done using a shared API between both parties.
:::note
This Service is used to Register Diarybunda Users with Alodokter using the email from the user itself, where the email from the user is retrieved from the database in the Diarybunda , then sent to Alodokter using the REST API
:::
API Stack
In User Encrypted Service, we use java programming with Springboot as the framework to manage All Features and Functions.
Process Flow
General Process flow :
Here is the General Process Flow How the Alodokter User Encrypted Service works.
sequenceDiagram
Frontend->>User Encrypted Service: Send Request with Email as Parameter
User Encrypted Service-->>Alodokter Service: Forward to Alodokter Service
Alodokter Service-->>User Encrypted Service: Response Success or Failed
User Encrypted Service-)Frontend: Response Success or Failed
Details Process flow :
- API Request
In this section, every User must be Registered in order to using the Chat Api.
so the Frontend will make a Request to the Backend via Chat Api and then The Request will forward this to User Encrypted Service to Process the Registration.