Requirements
What you need to run and to work on Sufra.
|
Minimum |
Notes |
| Node.js |
22 |
npm test runs the TypeScript tests directly with Node's type stripping (22.6+); Node 24 is recommended |
| npm |
10 |
comes with Node.js |
| Database |
SQLite (built in) |
a file, nothing to install. PostgreSQL 14+ for bigger setups (how) |
| Memory |
1 GB RAM |
npm run build uses the most |
| Disk |
600 MB |
including node_modules |
#Built with
| Package |
Version |
Used for |
| Next.js |
16 |
pages, API routes, the proxy that guards the dashboard |
| React |
19 |
interface |
| next-intl |
4 |
Arabic and English, right-to-left layout |
| Tailwind CSS |
4 |
styling, brand tokens in src/app/globals.css |
| Prisma |
6 |
database access and schema |
| jose |
6 |
signed staff session cookie |
| zod |
4 |
checking every request body |
| lucide-react |
1 |
icons |
#Optional services
| Service |
For |
Without it |
| Thawani Pay account |
card payments in Omani rials |
the site takes cash orders only |
| An OpenAI-compatible API (OpenAI, OpenRouter, a local Ollama, ...) |
"Write with AI" in the menu editor |
the button explains how to turn it on |
#Browsers
The website and the dashboard work in current Chrome, Edge, Safari and Firefox, on phones and desktops. The kitchen board's sound alert needs one click on "Sound alert" to be allowed by the browser.