ModernMES

2025 - present · Founder & lead engineer · visit site ↗ · mobile app ↗

NestJS · TypeScript · Prisma · PostgreSQL · Redis · MQTT · Socket.IO · React · Vite · Tailwind CSS · Expo / React Native · Docker


ModernMES: the 3D live workshop view, and the mobile app's factory overview and machine detail screens

ModernMES is a manufacturing execution system we build and run as a multi-tenant SaaS. The core is the shop-floor loop: work orders, operation routings with step precedence, machines, workplaces and resource groups, shifts, and operators who record their work at a shop-floor terminal. Live signals flow over WebSockets, so the TV boards show the floor as it is rather than as of the last refresh. The live workshop view goes a step further: the plant is drawn as a 3D building, floor by floor, with every machine showing whether it is running, paused, down or idle and which job is on it.

The product has grown well past that core over the last year. Planning is a board of its own, with operator planning, automatic assignment and undo, plus per-machine shift planning and a board for series production. Quality covers checklists, first-piece approval, nonconformance reports and SPC with Cp/Cpk. Maintenance tracks plans, orders and the remaining life of tools and moulds. Stock runs on a ledger with multi-level bills of material, lot labels and backflush, and feeds material requirements and shipments. Traceability follows lots through their genealogy to a public product passport. Quotes are priced from what the shop actually took to make similar parts, and work instructions can be shown on a 3D model loaded straight from STEP, IGES or STL files.

Machines report in two ways. They can post signals over HTTP or MQTT, and for plants that would rather not touch their PLC programs there is a connector that runs on site, reads machine state and part counts, and forwards them with a disk outbox so nothing is lost while the line is offline. It has drivers for OPC UA, Modbus TCP, Siemens S7, EtherNet/IP, MTConnect and others, and is still at an early version. OEE is computed from those signals together with stop reasons, and a stop nobody explained stays visible until someone does.

On the business side, ERP integration is an add-on with adapters for Logo, Netsis, Mikro, DIA, Paraşüt, Odoo, SAP Business One, SAP S/4HANA and Business Central: orders come in as draft projects and production is booked back. There is also a free, MIT-licensed ABAP add-on for SAP on GitHub, currently in beta.

The Enterprise plan includes an AI assistant built on Claude, inside the panel. You ask it in plain language which machines are stopped, which work orders are late or how last week's OEE looked, and it answers from the plant's own data through a fixed set of read tools - it is told never to invent a number, and to say so when a query returns nothing. It replies in the language the panel is set to, and the answer is streamed as it is written. It can also prepare a new work order, machine, operator or customer, but only as a card: nothing is saved until the user presses confirm, and the confirmed record goes through the same validation, package limits and audit trail as one entered by hand. It cannot edit or delete anything. A company admin has to approve the data transfer before the assistant can be used at all, and usage is metered per month.

The mobile app is on Google Play. It is for managers and supervisors rather than operators, and it leads with what needs attention: stopped and faulty machines, jobs drifting from plan, overdue maintenance, open nonconformances and parts below minimum stock. Stops without a reason can be classified from the phone, maintenance can be started and finished at the machine, and scanning the QR or barcode on a work order card, machine or lot label opens the record. Long stops, maintenance orders and quality checks arrive as push notifications. It is built with Expo and React Native, signs in by scanning a QR code from the panel, and accepts a custom server address for on-premise installations.

Underneath is the SaaS platform. Tenants are isolated with PostgreSQL row-level security: the tenant is set per transaction and the runtime connects with a restricted database role, so a missing filter in application code cannot leak another company's rows. Sign-up provisions a tenant with a 14-day trial; plans and add-ons are billed through PayTR in lira and Stripe in dollars and euros. Two-factor authentication is mandatory for platform admins, and there are API keys and HMAC-signed webhooks for integrators. The same product ships on-premise as a bundle with an installer and a signed licence bound to the hardware. The interface is in Turkish, English, German, Italian and Hungarian.

The backend is NestJS and Prisma over PostgreSQL with a documented OpenAPI surface: 135 data models across 72 modules, with 214 spec files. The web panel and the separate platform admin are React and Vite, with another 73 test files on the panel. Every repository ships through Azure Pipelines - type check, tests and an image scan, then a deploy with a health check that rolls back on failure.

Highlights

← All projects