# Bernard Ngandu > Bernard Ngandu is a software engineer and researcher who builds systems that teams and AI agents can run and change, and who publishes applied computing research. He is open to contract and full-time roles. This is Bernard Ngandu's personal portfolio. It contains project case studies, engineering notes, research publications, and contact information in English and French. ## Key facts - The site documents production platforms, backend systems, frontend architecture, deployment work, and applied computing research. - Project pages describe constraints, implementation tradeoffs, and outcomes. - Blog posts are authored by Bernard Ngandu. - Canonical site: https://ngandu.dev - Sitemap: https://ngandu.dev/sitemap.xml ## English content ### Main pages - [Software engineer and researcher](https://ngandu.dev/en): Software engineer and researcher with 9 years of programming. I build systems that teams and AI agents can run and change. - [About Bernard Ngandu](https://ngandu.dev/en/about): 9 years of programming. Software engineering from schema to deployment, plus applied research. - [Applied computing research](https://ngandu.dev/en/research): Peer-reviewed research in applied computing, with the papers, venues, and links. - [Contact](https://ngandu.dev/en/contact): Contact Bernard Ngandu about software engineering or applied research, as a contract or a full-time role. Send the goal, team, and timeline. ### Project case studies - [Leganews Pro](https://ngandu.dev/en/projects/leganews-pro): A versioned Congolese legal corpus with editorial review, search, monitoring, and subscription access - [Basango](https://ngandu.dev/en/projects/basango): Congolese news collection with a Rust crawler, a TanStack Start dashboard, and searchable article data ### Engineering notes - [Building billing infrastructure with FlexPay and Symfony](https://ngandu.dev/en/blog/implementing-billing-infrastructure-with-flexpay): How to build a durable payment workflow around FlexPay using Orders, Payment Transactions, signed webhooks, idempotent fulfillment, and a migration path from a legacy billing model. - [Modeling business rules with domain exceptions in Symfony](https://ngandu.dev/en/blog/modeling-business-rules-with-domain-exceptions): Using named domain exceptions to express rejected business rules, roll back commands, cross Symfony Messenger safely, produce RFC 9457 problem responses, and separate expected failures from real incidents. - [Testing DDD applications with Behat and in-memory adapters](https://ngandu.dev/en/blog/testing-ddd-applications-beyond-unit-tests): A practical testing architecture for combining fast domain tests, executable Behat application specifications, in-memory ports, deterministic time, real Symfony boundaries, and focused infrastructure tests. - [Making system time an explicit dependency in Symfony](https://ngandu.dev/en/blog/decoupling-from-system-time-in-symfony): Why reading the system clock inside business logic creates nondeterministic behavior, and how an explicit Clock port makes expiry, validity, scheduling, persistence, and time-sensitive tests predictable. - [A type-safe data-fetching layer with TanStack Query, Zod, and a BFF](https://ngandu.dev/en/blog/type-safe-frontend-data-fetching-layer): A practical frontend architecture for sharing API contracts, validating responses, fetching during SSR, caching in React, forwarding authentication through a BFF, and keeping mutations synchronized with Symfony. - [End-to-end authentication with Symfony, JWT, refresh tokens, and a BFF](https://ngandu.dev/en/blog/symfony-end-to-end-authentication): A complete authentication flow from a type-safe login form to Symfony Security, rotating refresh tokens, server-side web sessions, protected API requests, logout, recovery, and federated login. - [Type-safe value objects with Symfony and PostgreSQL JSONB](https://ngandu.dev/en/blog/symfony-typesafe-value-objects-postgresql-jsonb): Modeling structured domain values in PHP, persisting them as PostgreSQL JSONB through custom Doctrine types, and validating the same contract in TypeScript with Zod. - [Refactoring a Symfony application with Clean Architecture and DDD](https://ngandu.dev/en/blog/symfony-clean-architecture-ddd): How I moved a growing Symfony platform from technical folders to bounded contexts, inward dependencies, explicit ports, and architecture checks with Deptrac. - [Fetching Symfony read models with CQRS and Doctrine DBAL](https://ngandu.dev/en/blog/symfony-cqrs-read-models-without-orm): Using CQRS, Doctrine DBAL, and application-owned read models to fetch exactly the data an interface needs without hydrating ORM entities. ## Français content ### Main pages - [Ingénieur logiciel et chercheur](https://ngandu.dev/fr): Ingénieur logiciel et chercheur, 9 ans de programmation. Je construis des systèmes que les équipes et les agents IA savent exploiter et faire évoluer. - [À propos de Bernard Ngandu](https://ngandu.dev/fr/about): 9 ans de programmation. Ingénierie logicielle de la base de données au déploiement, avec de la recherche appliquée. - [Recherche en informatique appliquée](https://ngandu.dev/fr/research): Recherche en informatique appliquée évaluée par les pairs, avec les articles, les revues et les liens. - [Contact](https://ngandu.dev/fr/contact): Contactez Bernard Ngandu pour de l’ingénierie logicielle ou de la recherche appliquée, en contrat ou à temps plein. Indiquez l’objectif, l’équipe et le calendrier. ### Project case studies - [Leganews Pro](https://ngandu.dev/fr/projects/leganews-pro): Un corpus juridique congolais versionné avec relecture éditoriale, recherche, veille et accès par abonnement - [Basango](https://ngandu.dev/fr/projects/basango): Collecte de l’actualité congolaise avec un collecteur Rust, un tableau de bord TanStack Start et une base d’articles consultable ### Engineering notes - [Construire une infrastructure de facturation avec FlexPay et Symfony](https://ngandu.dev/fr/blog/implementing-billing-infrastructure-with-flexpay): Séparer commandes, tentatives de paiement et webhooks FlexPay pour traiter les doublons, les échecs et l’attribution d’accès. - [Modéliser les rejets métier avec des exceptions de domaine dans Symfony](https://ngandu.dev/fr/blog/modeling-business-rules-with-domain-exceptions): Nommer les rejets métier, les faire traverser Symfony Messenger et les convertir en réponses RFC 9457 sans exposer les incidents internes. - [Tester une application DDD avec Behat et des adaptateurs en mémoire](https://ngandu.dev/fr/blog/testing-ddd-applications-beyond-unit-tests): Combiner tests unitaires, scénarios Behat, adaptateurs en mémoire et tests Symfony ciblés sans remplacer les cas d’usage réels. - [Faire du temps une dépendance explicite dans Symfony](https://ngandu.dev/fr/blog/decoupling-from-system-time-in-symfony): Remplacer les lectures directes de l’horloge système par un port Clock contrôlable dans le domaine et les tests. - [Construire une couche de données frontend typée avec TanStack Query, Zod et un BFF](https://ngandu.dev/fr/blog/type-safe-frontend-data-fetching-layer): Partager les contrats d’API, valider les réponses, précharger les données pendant le SSR et synchroniser le cache React avec Symfony. - [Construire une authentification de bout en bout avec Symfony, JWT et un BFF](https://ngandu.dev/fr/blog/symfony-end-to-end-authentication): Relier Symfony Security à un BFF, faire tourner les refresh tokens et couvrir la connexion, la déconnexion et la récupération de compte. - [Conserver le typage des objets-valeurs de Symfony à PostgreSQL JSONB](https://ngandu.dev/fr/blog/symfony-typesafe-value-objects-postgresql-jsonb): Modéliser une valeur structurée en PHP, la persister avec un type Doctrine JSONB et valider son contrat TypeScript avec Zod. - [Refactoriser une application Symfony avec la Clean Architecture et le DDD](https://ngandu.dev/fr/blog/symfony-clean-architecture-ddd): Passer de dossiers techniques à des contextes bornés, diriger les dépendances vers le domaine et vérifier ces règles avec Deptrac. - [Lire des données Symfony sans ORM avec CQRS et Doctrine DBAL](https://ngandu.dev/fr/blog/symfony-cqrs-read-models-without-orm): Construire des modèles de lecture CQRS avec Doctrine DBAL pour renvoyer les données attendues par l’interface sans hydrater d’entités. ## Contact and profiles - Website: https://ngandu.dev - Email: ngandubernard@gmail.com - GitHub: https://github.com/bernard-ng - LinkedIn: https://www.linkedin.com/in/bernard-ngandu/ - YouTube: https://www.youtube.com/@bernard-ng