Book a call
Choose how to read this case

Studio buildDesigned and built by the studio itself — an internal project used as proof of method, not a client deliverable.

Architecture, system rules, decisions & documented evidence.

← All workEnterprise showcase / 001
Enterprise system — 9 servicesPharma distribution

NILE PHARMA FOOD / DIGITAL OPERATIONS

An integrated
operational platform.

Not just a good-looking dashboard. Nine interconnected services run product, stock, sales, accounting and incentives — every operation leaves a traceable record.

Nile Pharma ERP / Real screensDemo data
Overview board of five real Nile ERP screens: command center, invoicing, accounts 360, inventory and notifications. — Open full size (opens in a new tab)
Five screens from the running system
Role: Product & Platform Lead · Database & review: Ahmed Bedeer · 2025—2026Screens captured from the system itself

Have a similar product or workflow in mind?

Tell me what you need and we can define deliverables, timing and cost. A finished brief is optional.

Discuss your project →

02 / The system

One connected system, not nine separate screens.

Each service owns one clear responsibility. Grouping by function makes the scale readable instead of a long technical list.

Commercial Operations

01

Sales

Orders, pricing & orchestration

02

Inventory

Stock, FEFO & consignment

03

Products

Products & batches

Customer & Incentives

04

CRM

Accounts, visits & leads

05

Incentives

Incentive engine & ledger

Governance & Finance

06

Accounting

Invoices, payments & ledger

07

IAM

Identity & access

08

Organization

Org & master data

09

Audit

Unified audit trail

03 / Product tour

Inside the platform — every screen has a job.

Five real screens of the running platform, annotated with what matters in each. The data is demo data, for presentation.

01 / Operations Command Center

Open full size ↗
Nile ERP Operations Command Center screen, annotated with its key points

The landing screen: the day’s sales, the most-used actions and every module a click away.

  1. 1Quick actions — invoice, collection and return in one click
  2. 2Today’s sales, live — total value and number of sales orders
  3. 3Six ready workflows — field day, invoice, collection, return, inventory, assistant
  4. 4An AI operations assistant — a guide to operations, by permission
  5. 5Ten core modules — field, sales, purchasing, inventory, finance, incentives, HR, reports, administration

02 / Invoicing

Open full size ↗
Nile ERP Invoicing screen, annotated with its key points

The sales document, end to end: create, track collection and export — all from one list.

  1. 1Quick shortcuts — new invoice, new client, follow up an order
  2. 2Create an invoice in four steps — client → document type → items → review
  3. 3Collection-status filters — all, unpaid, partial, overdue
  4. 4Excel export, with the columns you choose
  5. 5Auto-numbered invoices — total, collected, remaining, colour-coded status

03 / Accounts 360

Open full size ↗
Nile ERP Accounts 360 screen, annotated with its key points

Every client account in one database, with the signals a rep needs. Client names are blurred for privacy.

  1. 1A 360° client account in one place
  2. 2Client actions — add, log a visit, import, refresh
  3. 3Five performance indicators — new clients, today’s visits, inactive clients, clients with a balance, conversion rate
  4. 4Advanced search and filters — name, code, phone, category, rep
  5. 5A data-rich table — code, category, city, status, rep, current balance

04 / Inventory Overview

Open full size ↗
Nile ERP Inventory Overview screen, annotated with its key points

Stock value, availability and quality at a glance, across more than one warehouse.

  1. 1Receive stock — one press, recorded in the movement log
  2. 2Stock value, shown at a glance
  3. 3Units available against units reserved
  4. 4Quality and movement indicators — health reserve, reserved, damaged/rejected, today’s movements
  5. 5Multiple warehouses, with transfers between them
  6. 6Search and expiry tracking — name or code, status, expiry window

05 / Notification Center

Open full size ↗
Nile ERP Notification Center screen, annotated with its key points

An internal notification center for operational alerts — approvals, credit, shipping and announcements.

  1. 1Notification management — mark all as read, send a notice, announce to a group
  2. 2Live counters — unread, received in the last 24 hours, total shown
  3. 3Search and filters — by category, unread only
  4. 4Automatic operational alerts — e.g. exchange rates not updated, with a one-click ‘open and follow up’

04 / Engineering

Built as a system, not a collection of screens.

ARCHITECTURE · حسب الكود الفعلي

Presentation

Next.js Web Dashboard

Same-origin /api/*

↓
IAM
Organization
Products
Inventory
CRM
Sales
Accounting
Incentives
Audit
↕

Event backbone

Redpanda / Kafka events

✓ منفذ

Data layer

Neon PG · per-service DB

✓ منفذ

✓ منفذ: 9 خدمات + عقود مشتركةمخطط تبسيطي

Decisions that prevent chaos

  • • Shared @nile/contracts + AsyncAPI — prevent type drift.
  • • Saga for sales — no fake atomic across 3 DBs.
  • • FEFO + batch trace — expiry is business logic.
  • • Idempotency + DLQ + audit aggregator — event reliability.

Implemented vs planned

✓ تم

9 خدمات، عقود، أحداث، ترحيلات، بيانات تجريبية

○ لاحقًا

تكاملات دفع/شحن خارجية إضافية حسب احتياج العميل

Clear separation — don't mix shipped vs planned.

Next.jsNestJSTypeScriptPrismaPostgreSQL / NeonRedpanda / KafkaTurborepoDocker Compose

05 / Contribution

What I designed and built.

Product & platform lead: translating pharma distribution needs into 9 bounded services, designing shared contracts, choosing Redpanda for events and Neon for per-service DBs, and directing the dashboard experience.

Shared creditThe database and the review were done by Ahmed Bedeer.

Decision

Saga over 2PC

Avoid distributed lock

Decision

FEFO + تحفيز

Expiry = business logic

Decision

Audit أولًا

Every event logged

Status & tests

Live in development — the product tour shows the running system on demo data, migrations per service via Prisma.

No invented user/revenue numbers. Documented here is what is actually shipped.

END OF FILE / 001 — ENTERPRISE SHOWCASE

From workflows to systems — visibly.

Visitor grasps scale and connectivity before reading the stack.

← Back to workMustafa Aboalazm / 2026 · Enterprise Ledger
Switch Reading Lens · 02

Want the practical business breakdown—what this project does, how it runs, and its core advantages?

Have a similar product or workflow in mind?

Tell me what you need and we can define deliverables, timing and cost. A finished brief is optional.

Discuss your project →

NEXT CASE ↳ FROM THE FILES

Nile Pharma Food — Storefront