Common API is a microservice whch acts as a gateway for AMRIT. There are many APIs that are exposed by Common-API. It contains APIs of common integrators like c-Zentrix, Everwell, Openkm and some master APIs like location master, alerts, notification,language and location messages.
- Beneficiary Registration
- User authorisation and authentication
- Call handling (107,1097 & mcts)
- Covid Vaccine status
- Email Service
- SMS Service
- OTP Service
- Feedback service
- Beneficiary Medical History maintenance
- Finding Institutions
- KM file management
- Fetching data from POCT devices
- Report APIs
- Language API
- Notification service
- CRM Reports
- Appointment Scheduling
This microservice is built on Java, Spring boot framework and MySQL DB.
- JDK 1.8
- Maven
$ ./mvn clean install
This service has been tested on Wildfly as the application server.
- Wildfly (or any compatible app server)
- Redis
- MySQL Database
- Install dependencies
mvn clean install
- You can copy
common_example.properties
tocommon_local.properties
and edit the file accordingly. The file is undersrc/main/environment
folder. - Run the spring server with local configuration
mvn spring-boot:run -DENV_VAR=local
- C_Zentrix
- Everwell
- Openkm
- Door to door App
- Swaasa
- LOINCs
- SnomedCT
All features have been exposed as REST endpoints. Refer to the SWAGGER API specification for details.