← Work

ERP

A custom ERP in daily use since early 2026 at a Moroccan wood manufacturer. Nine business modules from purchasing to invoicing, built in close contact with the people who use it

Live demo An ERP for your business → /TypeScript /React /Next.js /Tailwind /Postgres /2025-2026

The Challenge

The client had already gone through several ERP attempts: off-the-shelf tools and paid subscriptions that were expensive, missing features they actually needed and backed by support that didn't respond when things broke. They were paying for software that didn't fit how a wood manufacturing business actually operates.

The Approach

I started with the flows that cost them the most time, purchasing and sales, and shipped those first. Production, maintenance and quality came later, once the team was used to the tool. A few decisions shaped the system: stock is a ledger of movements (receipts, deliveries, transfers, production) rather than an editable number, so every quantity traces back to a document; one payment can be split across several invoices, because that is how customers and suppliers actually pay; the material cost of a work order is frozen when it is created, so a later price change does not rewrite history; and every change goes into an activity log, which is also where the numbers below come from. Their existing customer and product lists were imported from Excel instead of being retyped.

The Result

Production data, December 2026

8

active users in the last 30 days

70 / 90

days with activity in the last 90

822

purchase orders, 586 goods receipts

2,492

stock movements across 23 locations

304

quotes, 194 sales orders, 121 invoices

6,499

actions in the activity log since February 2026

8 active users: the ERP was used on 70 of the last 90 days, with close to 1,000 logged actions in the last 30. Purchasing carries the most weight (two thirds of all actions), then sales. The honest part: adoption is uneven. Production planning went live in November 2026 and is handling its first work orders; maintenance and quality are built but barely used so far. So the next step is getting them into the shop floor routine, not adding features.

Screenshots

Home: 10 cards for Purchasing, Sales, Inventory, Products, Production, Maintenance, Quality, Dashboards, AI Assistant and Settings, with global search.
Production / Planning: work orders with ranges, owners, status and dates edited straight from the table; workload overlaps per workstation are flagged above it.
Daily schedule: one bar per work order showing the current stage (CNC cutting, edge banding, assembly, painting, packing) plus the today marker.
Work orders: project, products, material cost frozen at creation, period, and PDF export of the production file.
Sales: 10 tabs from customers to payments, every document printable to PDF and actionable from its own menu.
Purchasing: suppliers, requests, purchase orders, receipts, returns and payments.
Products: bills of materials that automatically feed the material consumption of work orders.
Inventory: multi-warehouse catalog, inbound/outbound documents and movement history.
Maintenance: each machine has its running-hours counter, an "every N hours" preventive rule and parts consumed from stock.
Quality: checklists per product or range, point-by-point inspections, pass/fail.
Dashboards: revenue, cumulative purchases, outstanding balances and stock per warehouse, filterable by period, warehouse, customer and supplier.
AI Assistant: read-only questions over the modules the user is allowed (balances, invoices, low stock, overdue payments), with links to the documents and their PDFs.

Feature areas

Purchasing

Suppliers, purchase requests, price requests, purchase / receipt / return slips, payments

Sales

Customers, quotes, order slips, delivery prep + slips, returns, invoices, credit notes, payments

Inventory

Multi-warehouse catalog, inbound/outbound, history. Items, raw materials, spare parts, accessories, tooling

Products

Product catalog + bills of materials, ranges, families, variants, excl.-tax / purchase prices

Production

Projects, planning, work orders, finished products, employees, workstations, equipment

Maintenance

Tickets, preventive plans, equipment, machine downtime, 30-day parts cost

Quality

Checklists per product/range, controls with photos, compliance, last-30-controls history

Dashboards

Revenue, cumulative purchases, customer balance, stock per warehouse. Monthly revenue, purchases vs sales, top products

AI Assistant

Customer balances, invoices, low stock, overdue payments, sales summaries. PDF support

Notes

  • Stack: Next.js (App Router), Tailwind, PostgreSQL + Prisma.
  • Volume: 1,418 products, 1,034 customers, 47 suppliers.
  • Numbers: counts read from the production database on 4 December 2026. The activity log has existed since February 2026, so earlier usage is not counted.
  • Assistant: answers over authorized modules, reads PDFs.
  • Screenshots: public read-only demo instance with fictional data reset nightly, with no real client logo or name.

saadel © 2026