Skip to content

Fooj Project Overview

Section: 17 — Fooj
Last Updated: 2026-05-30
Scope: Fooj project summary, subscription, environments, cost


IMPORTANT

Fooj is a completely separate Azure subscription from the ERP system. Infrastructure, billing, and deployments are independent. Do not mix ERP and Fooj resources.


What is Fooj?

Fooj is a separate product running on the Microtec platform pattern. It is hosted independently on its own Azure subscription with a simpler architecture than ERP — single backend, two frontend apps.

PropertyValue
ProductFooj (customer-facing marketplace/portal)
Azure Subscription IDf2340b90-2a00-4551-aabc-6e1776e82077
ArchitectureSingle .NET 8 API + Angular 18 SSR + Angular 18 Admin
EnvironmentsStage, Production
DomainsSee environment table below

Architecture Summary

Unlike ERP, Fooj uses Azure SQL PaaS (not the shared SQL VM), and all services run in a single shared CAE per environment.


Differences from ERP

AspectERPFooj
Azure subscriptionERP subscriptionf2340b90-2a00-4551-aabc-6e1776e82077
Backend services14+ microservices1 API (Fooj.Apis)
Frontend apps10 Angular apps2 Angular apps (SSR + Admin)
DatabaseSQL Server VM (multi-tenant)Azure SQL PaaS (single tenant)
CAE layoutPublic + PrivateSingle shared CAE
Multi-tenancyDatabase-per-tenantNot applicable
NetworkVNet per environment (8 CIDRs)Shared VNet 10.20.0.0/16
NAT Gateway IPPer-environmentSingle: 20.26.0.39

Environments

EnvironmentFrontend URLAPI URLStatus
Stagestaging.fooj.saapi-staging.fooj.saActive
Productionwww.fooj.saapi.fooj.saActive

NOTE

Fooj has only two environments (stage + production). There is no separate dev, preprod, or UAT for Fooj.


Cost Estimates

EnvironmentEstimated Monthly Cost
Stage~$40 USD
Production~$170 USD

Cost Breakdown (Production)

ResourceEstimated Cost
Azure Container Apps (Fooj.Apis)~$35
Azure Container Apps (Keycloak)~$30
Azure Container Apps (SSR frontend)~$15
Azure Container Apps (Admin)~$10
Azure SQL PaaS (Standard S1)~$25
Azure Redis Cache (C0 Basic)~$15
NAT Gateway (shared with ERP)~$20
Load Balancer / Bandwidth~$10
Container Registry~$10
Total~$170

Stage is cheaper primarily because:

  • All services scale to zero when idle (min-replicas: 0)
  • Shared NAT Gateway with production (see shared-egress.md)
  • Minimal traffic, no sustained compute cost

Shared Patterns with ERP

Despite being a separate product, Fooj shares:

PatternShared with ERP
Keycloak for authYes (same Keycloak patterns, separate instance)
Clean Architecture (.NET 8)Yes
Angular 18 (upgraded from 17)Similar (ERP uses 17)
Azure Container AppsYes
YARP gatewayYes
APIResponse<T> envelopeYes
Serilog + SeqYes
OpenTelemetryYes
Azure DevOps CI/CDYes

Key Contacts & Resources

ResourcePath / URL
Infrastructure codeDevops/fooj/
Fooj pipelinesAzure DevOps: Fooj project
Stage Keycloakhttps://auth-staging.fooj.sa
Prod Keycloakhttps://auth.fooj.sa

Internal Documentation — Microtec Platform Team