Emre Şahin

Архитектонске студије случаја

Doldur

Агрегација пуњења EV возила. Backend сервиси и управљачки модули који више мрежа за пуњење окупљају у једну платформу, уз безбедне API-је засноване на токенима.

Улога
Full stack девелопер
Период
2023
Технологије
.NET, Vue.js, JWT, REST

Simplified and anonymised: no source code, customer data or confidential architecture details.

Overview & business problem

Doldur is an EV-charging aggregation platform. The idea behind aggregation is simple for drivers and hard for software: instead of one app per charging operator, a driver uses one product to find chargers, start a session and pay, regardless of which network owns the station.

Underneath, that means talking to several operator networks that each describe stations, connectors, availability and prices in their own way, and presenting them as one consistent product. In this industry, charge points typically communicate through OCPP-style protocols and operators expose their own interfaces, so an aggregator spends much of its effort on normalising data and keeping session state consistent.

My role & requirements

I worked at Doldur for about eight months in 2023 as a Full Stack Developer, early in my career. I was not the architect. My scope was building .NET backend services and Vue.js management modules inside an architecture that others had defined, including the JWT-based authentication used by the platform.

The requirements that shaped my work:

  • Management users needed reliable screens to view and manage platform data such as stations, sessions and pricing.
  • APIs had to be secured consistently, with clear separation between what different users could see and do.
  • New features had to fit existing conventions, so the codebase stayed coherent as the team moved quickly.

Architecture & design decisions

The description here is simplified and is not the real production topology.

Conceptually, an aggregation platform has three layers: integrations with operator networks, a core that normalises stations, sessions and tariffs into one model, and the applications that drivers and operators use. My work sat in the second and third layers.

On the backend, I built .NET services and REST endpoints that served the management side of the platform. On the frontend, I built Vue.js modules for the management panel, working end to end from the API contract to the screen.

The decision I owned most directly was in authentication. I implemented JWT-based authentication so that stateless services could verify a user's identity and role on every request without a shared session store. Short-lived access tokens and role claims kept authorization checks close to each endpoint and simple to reason about.

Trade-offs

Stateless tokens over server-side sessions. JWTs suited a service-oriented backend and removed a shared session dependency. The cost is that revoking a token before it expires is harder, which is why lifetimes have to stay short.

Following conventions over introducing new patterns. As a new developer on an existing system, I chose consistency over personal preference. That made reviews faster and kept the codebase predictable.

Security & scalability

Every protected endpoint validated the token's signature, expiry and role claims before doing any work. Secrets were kept out of the frontend, and the management panel only received the data its user was allowed to see. Stateless authentication also meant backend instances could be added without session affinity.

Results & lessons learned

I delivered backend services and management modules that the platform used, and an authentication layer that the rest of the backend could rely on. More importantly for me, it was my first close look at a domain where the hard problems are integration and consistency, not CRUD.

What I'd do differently today

  • Pair JWTs with refresh tokens and a revocation strategy from the start, rather than relying on expiry alone.
  • Push for a shared, documented domain model for stations, sessions and tariffs before building more screens on top of it.
  • Ask earlier how session state stays consistent when an operator's network is slow or unavailable. It is the question I now ask first in any integration-heavy system.