Skip to content

The Community Voice

A participatory-democracy platform for Moroccan citizens: reach a representative, vote on local issues, follow the politics. Architected and built solo, across three languages and two writing directions.

The Community Voice set out to give Moroccan citizens a more direct line into their own democracy: a way to reach their parliamentary representatives, vote on the local issues that affected them, and follow the political news around it all. Building that meant a full civic platform, architected and developed solo, from a Java and Spring Boot backend to an Angular frontend, and across three languages that did not all read in the same direction.

JavaSpring BootPostgreSQLAWSAngularSelenium

A platform, built by one

There was no team to divide the work across, so the architecture had to be sound enough for one person to hold in their head and build end to end. A clean Java 8 and Spring Boot backend, exposed through a RESTful API and backed by PostgreSQL, ran on AWS, designed from the start to be elastic and extensible rather than just enough to demo. An Angular frontend sat on top. Bootstrapping a whole stack alone concentrates the responsibility: every decision, and every consequence, sits with the same person.

The Community Voice: a solo-built full civic stackThree civic tools (reach a representative, vote on local issues, follow the politics) sit on a multilingual, bidirectional Angular frontend, over a RESTful API, a Spring Boot Java 8 backend and PostgreSQL, all deployed on AWS.Reach a representativeVote on local issuesFollow the politicsAngular frontendmultilingual, bidirectional: Arabic (RTL) · French · AmazighAWSRESTful APISpring Boot backend: Java 8PostgreSQL
Architected and built solo, end to end: three civic tools on a multilingual, bidirectional Angular frontend (Arabic right-to-left, French, Amazigh), over a RESTful API, a Spring Boot Java 8 backend and PostgreSQL, deployed on AWS and designed to be elastic and extensible rather than just enough to demo.

Three languages, two directions

A platform for Moroccan citizens has to speak their languages, and there were three: Arabic, French and Amazigh. That is not a translation job, it is an architecture one. Arabic reads right to left, so the whole interface has to mirror: layout, flow, and the direction text and controls run. French reads the other way. And Amazigh, with its own script and less common support across the usual tooling, was the hardest of the three to render and get right. Supporting all of them in one product meant building for language and direction from the start, not as an afterthought.

Built close to the ground

A tool for citizens has to be built near the people it serves. Feedback came fast and directly from the user communities on the ground, close enough to shape the platform while it was still forming rather than after it had set. That proximity mattered as much as any technical decision: it is what keeps a tool like this answering the needs people actually have, instead of the ones a distant team imagines for them.

Discipline for a solo build

Solo does not mean informal. The build ran on the same practices a good team would use: behaviour-driven development to keep features tied to what was actually asked for, Selenium integration tests to prove the journeys worked, Jenkins continuous integration so every change was built and checked, and architecture documentation and design reviews to keep the decisions visible. On a project meant to be handed on and grown, that discipline was part of the deliverable.

The civic tools

  • Reaching a representative. A direct channel for citizens to reach their parliamentary representatives, turning a distant institution into something a person could actually contact.
  • A say on local issues. Voting tools for the local questions that affect people day to day, where participation is often most felt and least available.
  • The politics, in one place. Access to political news, so following what mattered did not mean hunting it down across scattered sources.

A pilot, and an honest end

The platform was built as a pilot, backend and frontend both, and it worked. What it did not get was the funding to carry it through to completion, which is the ordinary fate of a great deal of civic technology: the engineering is rarely the thing that stops it. What it proved still stands. A single engineer can architect and build a real, multilingual, participatory-democracy platform end to end, and getting technology to serve something as human as a citizen’s voice is a worthwhile problem to have worked on.