New
Apps 6,273Makers 6,252This week 13
Promote your app−30%
8views in
the last 30 days

Hotel Ops

Ordering, bookings and payments for a multi-department hotel

Built with Claude/Claude Code

by vicintel · Unclaimed · from NGNigeria · added Oct 29, 2026
no ratings0 comments

Ordering, bookings and payments for a multi-department hotel in Nigeria. Guests order food and book rooms by chatting with an AI assistant on WhatsApp or the hotel's website. They pay by bank transfer or card, and every department's staff see it land on a live dashboard.

Built for a real Lagos hotel group and shown here as Harmattan House, a fictional hotel with stock photos.

Live demo: link coming · staff side: Staff dashboard → Enter the demo dashboard (no password; payments are test-only and the data resets daily)

Guest website

The problem

A hotel with a front desk, restaurant, grill, bakery and club lounge takes orders over WhatsApp, at five counters and by phone. Staff were checking bank apps by hand to see whether a transfer had arrived, card-machine takings weren't tied to the till, and the kitchen heard about orders by shouting. Nobody had one view of the day.

What it does

  • Orders and bookings by chat. Each department has its own AI assistant (Claude) that reads the live menu or room list, builds the order, confirms it with the guest and places it. It works in English, Nigerian Pidgin, Yoruba, Igbo and Hausa. Prices, totals, availability and account numbers always come from the database and the payment providers, never from the model.
  • Instant transfer confirmation. Every order gets its own bank account number (Monnify reserved accounts). The order turns paid the moment the transfer is verified, with no receipt for the guest to send and no bank app for staff to check.
  • Card machines at the counters. Moniepoint POS machines report every payment through a signed webhook. A till card sale can be sent straight to the counter's machine with the exact amount (Moniepoint's push-payment API), then settled from the machine's result.
  • A live dashboard for every department. Occupancy, revenue for the last seven days, room status, the week's bookings, counted stock, the latest orders and an order board staff move along, all updating as payments land.
  • A kitchen screen with sound, spoken order alerts, wait times and late-order warnings.
  • Registered tills with their own PIN, locked to one department, with an end-of-day cash-up that compares the till's card sales against the machine's takings.
  • Conversations: staff can read every chat, the steps the assistant took and the order each chat produced.
  • Manage: menus, prices, stock, sold-out items, rooms, tills and card machines, without a developer.
An order through the AI chat, paid by test transfer Staff dashboard
An order through the website chat, paid by a test transfer The staff dashboard
Conversations Kitchen screen
A chat transcript with the assistant's steps and the order it placed The kitchen screen
A card sale sent to the counter's machine Phone views
A till card sale sent to the counter's Moniepoint machine The guest site on a phone

How the money stays right

Payments are where hotel software usually goes wrong, so most of the care went here.

  • Only a verified payment can mark an order paid. A Monnify webhook must pass its HMAC-SHA512 signature check, and Monnify's own transaction API must confirm the payment is PAID for at least the order total. The status API refuses to set paid by hand.
  • Idempotent payments. Each provider reference is unique in the database, so a webhook delivered twice is recorded once.
  • Late money is never dropped. A transfer that lands after an order expired is stored and the order is flagged for staff to rebook or refund.
  • Unpaid orders expire. Orders and room holds are released after 30 minutes without payment, and the room goes back on sale.
  • Card-machine sales hold their stock. While a sale waits on the machine, its items are reserved. A decline, cancel or three-minute timeout puts them back. A late approval after the cashier cancelled is ignored.
  • Signed webhooks for the card machines (HMAC-SHA256), with out-of-order deliveries ranked so an older status never overwrites a newer one.
  • The AI can't invent money. Its tools return totals, account numbers and room numbers from the server; the model only relays them.

Tech

Node.js · Express 5 · MongoDB (Mongoose) · Socket.io · Claude API (tool use) · Monnify · Moniepoint · WhatsApp Cloud API · plain HTML, CSS and JavaScript for the pages · Docker · deployed on Northflank with MongoDB Atlas.

About 4,500 lines of server code and 126 tests (node --test) covering orders, payments, webhooks, bookings, tills, card machines, the AI tool loop and the public demo's privacy rules.

Run it

npm install
npm run dev     # no MONGO_URI → a local MongoDB, seeded with demo data
npm test

Copy .env.example to .env for the optional pieces (Claude key, Monnify sandbox, Moniepoint, WhatsApp). Without them the site still runs; payments use test transfers and the card machines use a simulator. Deploying: Northflank or Render.

Order lifecycle

pending → awaiting_payment → paid → preparing → ready → completed (or cancelled before payment). Only a verified payment (services/paymentService.js) can set paid; the status API refuses it.

API

Method Path
GET /api/departments All departments
GET /api/departments/:slug/menu Menu for one department
POST /api/orders { departmentSlug, items: [{ menuItemId, quantity }], customer, source }
GET /api/orders?status=&department= List orders
GET /api/orders/:id One order
POST /api/orders/:id/checkout Reserve a Monnify account; returns payTo
POST /api/orders/:id/status { status, note }
POST /api/pos/sales/machine Send a till card sale to the counter's Moniepoint machine
GET /api/conversations The assistant's chats, with linked orders
POST /webhooks/monnify Monnify payment notifications (signed)
POST /webhooks/moniepoint Moniepoint card-machine payments (signed)
POST /webhooks/whatsapp WhatsApp messages (signed)

Socket.io events: order:created, order:updated, pos:transaction, conversation:updated.

Payments (Monnify)

  1. POST /api/orders/:id/checkout reserves a Monnify account for the order (account reference = order reference) and moves it to awaiting_payment. The response's payTo holds the account number(s) for the customer.

  2. When money lands, Monnify calls POST /webhooks/monnify. The order is marked paid only if:

    • the monnify-signature header equals HMAC-SHA512(raw body, secret key), and
    • Monnify's own transaction API confirms the payment is PAID with at least the order total.

    Duplicate deliveries are recorded once. Payments to orders that aren't awaiting payment are logged but not applied.


Built by Victor Dickson. Photos from Pexels.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#hotel · #ordering · #whatsapp