Spring boot application for notification event. This sample use asynchronous, coroutines and sample not recommended ways
- SpringBoot (2.7.4)
- MySQL Database
- Coroutines
Sample send notification event (added notification data to mysql database)
- Method : GET
- Endpoint :
/api/notification/basic
- Header :
- Accept : application/json
- Body :
{ "status": "boolean", "code": "number", "message": "string" }
- Method : GET
- Endpoint :
/api/notification/async
- Header :
- Accept : application/json
- Body :
{ "status": "boolean", "code": "number", "message": "string" }
- Method : GET
- Endpoint :
/api/notification/coroutine
- Header :
- Accept : application/json
- Body :
{ "status": "boolean", "code": "number", "message": "string" }