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

Nour-Eddin Ait Bouguarri

Nour-Eddin Ait Bouguarri

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.
TECHNOLOGY
NestJS • TypeScript • PostgreSQL • Prisma • Redis • WebSockets • JWT • Docker Compose • Nginx • Prometheus • Grafana • Loki
VIEW THE PROJECT
The public repository presents the project architecture, capabilities, and verified outcomes. The proprietary implementation is maintained privately.
Market overview combining portfolio health, market movement, and research context.
Market overview combining portfolio health, market movement, and research context.
Stock detail view with chart, quote data, and simulated buy and sell actions.
Stock detail view with chart, quote data, and simulated buy and sell actions.
Portfolio dashboard with balances, asset allocation, holdings, and P&L.
Portfolio dashboard with balances, asset allocation, holdings, and P&L.
Community feed connecting market discussion with the virtual-investing workflow.
Community feed connecting market discussion with the virtual-investing workflow.
Like this project

Posted Aug 8, 2026

Built the backend, real-time systems, financial engine, observability, and containerized deployment for a working virtual-investing platform.