Skip to content

Piwik PRO x Cookie Information

After a year I started to work again with Cookie Information, this time directly in the project. Below are details about the project that I was working on. This part focuses on task that I have done during this time period. Previous part of my job can be found here: Clearcode S.A. – Cookie Information CMP

Cookie Information CMP

CMP or Consent Management Platform – a platform for storing user consents on websites. At first glance, a simple issue, in fact, it is a very complicated system. It includes both an administrative part managed by the website owner, through generating a modal to agree to cookies, to the BI part displaying a summary of the consents sent.

Cookie Consent modal

In terms of technological infrastructure, the backend infrastructure contained several microservices written in various technologies:

  • Symfony 7.4 with Api Platform
  • Vanilla JS scripts called on request by cron
  • Typescript scripts combined with NestJS

The microservices communicated with each other using RabbitMQ and REST API requests. The databases used were PostgreSQL and Elasticsearch. Kubernetes was used to manage and manage microservices with Docker. The entire project deployment was based on GitHub pipelines to maintain CD / CI.

The project was conducted in full Scrum.

My duties

My duties in this project included developing and maintaining existing microservices. I created documentation and described specific issues and problems in English. In addition to writing code, I searched for the best solutions for the project and performed code reviews. I worked with other programmers as part of pair programming.

My biggest contribution was introducing a special API Gateway module, which acted as a layer between the AppSmith application used by support and the internal API that had access to everything within the system. The whole project was meant to address three issues. The first was to make the whole tool easier for support to use, because every part of it was designed and discussed with end users. The second was implementing an audit log shared with the internal API, which was an ISO requirement. The third was to automate tasks frequently performed by support users.

Another part was adding another layer of security by implementing RBAC. Before my change, every user could do anything within their account, including payment changes. There was a need to separate those actions into different user roles, divided by resource. Users can create roles per Consent Solution or global roles within their account. I was responsible for creating the whole architecture, documentation, team management, sharing iterations with stakeholders, and developing the backend part of it.

Technology summary

Summary of technologies used:

  • PHP 8.4 using Symfony 7.4 framework and Api Platform 4
  • Node.js
  • Typescript using NestJS
  • Docker and Kubernetes
  • PostgreSQL
  • Elasticsearch
  • RabbitMQ
  • GitHub
  • Jira
  • Slack
  • Google Workspace