TradeHub: Real Time Fintech Platform for Moroccan Investors by Nour-Eddin Ait BouguarriTradeHub: Real Time Fintech Platform for Moroccan Investors by Nour-Eddin Ait Bouguarri
TradeHub: Real Time Fintech Platform for Moroccan Investors
TradeHub A Real Time Fintech Platform for Moroccan Retail Investors
TradeHub is a working virtual-investing platform designed for Moroccan retail investors. It brings market context, simulated trading, portfolio tracking, financial news, and community features into one product. It does not execute real-money trades.
THE CHALLENGE
Retail investors often move between separate websites for market information, spreadsheets or limited simulators for practice, and unstructured chat groups for community. The engineering challenge was to make those workflows feel like one reliable system while keeping trading, portfolio, social, and real-time behavior consistent.
MY ROLE
I created the product and led the backend and infrastructure work: system architecture, API design, database modeling, authentication, real time communication, financial calculations, observability, and containerized deployment.
BACKEND AND REAL-TIME SYSTEMS
• Designed REST APIs for virtual trading, portfolios, authentication, social features, and market context.
• Implemented WebSockets for real-time user-facing updates.
• Modeled the application data in PostgreSQL and built the data layer with Prisma.
• Added JWT authentication and role-aware access controls.
• Built portfolio, P&L, and risk calculations for simulated positions.
• Used Redis and event-driven background processing for asynchronous workloads.
INFRASTRUCTURE AND RELIABILITY
• Containerized the platform with Docker and Docker Compose.
• Configured Nginx as the reverse proxy and TLS entry point.
• Added monitoring and centralized observability with Prometheus, Grafana, and Loki.
• Structured the application as a maintainable modular backend that can evolve into separate data and news services when needed.
OUTCOME
TradeHub became an integrated, testable pre-beta platform rather than a set of disconnected prototypes. It demonstrates my ability to design a multi-module backend, connect real-time features to financial state, and operate the system with production-oriented deployment and observability.