Industry: Insurance
Microservice platform for the insurance sector
Development, together with the client's team, of a microservice-based ERP for a major insurance operator, with GraphQL APIs, Kafka events and centralised access control.
Results
- Independent services communicating through events
- A single GraphQL API for applications
- Centralised authentication and authorisation
Challenge
A major insurance operator wanted to replace fragmented processes and applications with a modern management system. The system had to be able to grow one service at a time, without stopping what was already in use, and to integrate with existing systems.
Solution
I worked inside the client’s team, following an Agile methodology with Atlassian tools (Jira and Confluence), on the development of microservices in TypeScript with Fastify. Each service stores its own data on MongoDB.
Two architectural choices hold the system together:
- the services exchange events through Kafka, instead of depending directly on one another: each can be developed and released without waiting for the pace of the others;
- the features are exposed through GraphQL: applications have a single API to ask for data, without needing to know which service handles it.
Authentication and authorisation are centralised with Keycloak, so access rules are not replicated in every service.
Results
The system is made of independent services that can be developed and released separately, with a single API for applications and access rules managed in one place.