تحميل السيرة الذاتية
ENعربي
→ كل الأنظمة الخمسة والعشرين

منصّة · 2025 · دون ذكر اسم العميل

نظام خلفي للتجارة الإلكترونية وERP

نظام خلفي للبيع الإلكتروني مبني على GraphQL، يرتّب فيه العميل واجهة متجره بنفسه من لوحة التحكّم. وتحته سجلّ للمخزون لا تتغيّر فيه الكميات إلا من مكان واحد في الكود.

19

نموذجاً للبيانات

14

وحدة GraphQL

typedefs and resolvers

14

Role scopes

across 6 roles

AR / EN / KU

Locales

المشكلة

A retail client needed inventory across locations, an ERP-grade stock ledger, a content surface, and crucially the ability to change how the storefront looks without asking an engineer. Every layout change becoming a support ticket was the actual problem to solve.

الحلّ المعتمد

Chose GraphQL over REST specifically because the client requirement was that the frontend decides what it renders. Fourteen GraphQL modules over nineteen models let the storefront query exactly the shape a client-configured layout needs, rather than the backend hardcoding a response per page. Stock has exactly one mutation point, so every quantity change writes an audit row and the ledger is complete by construction.

بنية النظام

GraphQL-first, modular by domain. Nineteen models, fourteen typedef and resolver pairs, nine services. Six roles resolved against fourteen distinct scopes. Trilingual throughout.

ثلاثة قرارات

ومع كل قرار ثمنه

القرار الذي لا يُذكر ثمنه مجرّد تفضيل شخصي.

01

GraphQL over REST for the storefront

السبب

The client controls layout, so the frontend has to ask for arbitrary shapes. With REST that means over-fetching everything or shipping an endpoint per layout change, which is exactly what the client was paying to avoid.

الثمن

N+1 resolution has to be actively managed, and the team needed bringing up to speed on schema design before writing resolvers.

02

مكان واحد فقط يغيّر المخزون، وسطر في السجلّ لكل حركة

السبب

الكمية لا تتغيّر إلا في دالّة واحدة بالضبط، وهذه الدالّة تسجّل كل حركة بإشارتها (إضافة أو خصم) مع الرصيد الناتج عنها. ولا شيء غيرها يلمس الكمية، فلا يمكن أن يبتعد سجلّ التدقيق عن الواقع.

الثمن

كل عملية على المخزون تمرّ عبر هذه الدالّة وحدها. هذا عنق زجاجة مقصود، وهو السبب في أن السجلّ موثوق.

03

Deduplicated low-stock alerts with a reset threshold

السبب

An alert fires once on crossing below the threshold and the guard clears only when stock climbs back above it, so admins get a signal instead of a stream.

الثمن

One extra field per stock level, cheap next to alert fatigue.

النتيجة

The owner reconfigures storefront sections from the dashboard with no deploy. Inventory is auditable to the individual movement, with deduplicated low-stock alerting.