A business management system for small companies in Morocco — stock, sales, customers, money, and a full hospitality side with direct booking. Multi-workspace, built alone, running in production.
Modus is where a small business runs the whole thing — stock, sales, customers, suppliers, expenses and reports — instead of spreading it across a notebook, WhatsApp and three spreadsheets. It started as a stock tracker, became a CRM, and ended up a business management system: several organizations under one login, each with its own team, its own permissions and its own numbers.
Then hospitality landed on top. Hostels, guesthouses and short-stay rentals get properties, units, rates, a calendar and reservations — and a public storefront where guests book straight from the system, with availability that is actually live.

The part that had to be right: a guest books a room from the public page, and that room cannot be sold twice. No channel manager, no middleman taking a cut — the booking lands directly in the same system the owner works in every day.
The storefront asks for dates and gets back only units with no overlapping reservation — priced per season, per unit type.
Confirming re-checks the overlap and writes the reservation in one transaction. A second guest going for the same nights is refused, not queued behind a race.
The reservation shows up on the calendar with check-in, check-out and the guest file — and the money it brought in shows up in the same reports as everything else.
A partner sends a message — or a photo of a handwritten daily ledger — and the AI drafts the order. Nothing is saved until a human confirms it.
The agent reads the message, searches products, matches the customer, and returns a draft. The draft is signed — no database write yet.
A human approves. The server checks the signature, then writes the order. If anything was changed in between, it gets rejected.
AI-made orders get an AGNT- tag, the loop has a hard cap, and refused replies are rephrased and retried automatically.

Bun · TypeScript · Express 5 · PostgreSQL · Drizzle ORM · Zod · Redis · JWT · Groq · Cloudinary · R2