Finance / Business System
A complete financial system for a management consultancy: revenues, expenses, invoices, receipts, cheques, customer statements and reports, with role-based access, Excel export and a fully bilingual Arabic/English interface.
The Challenge
Reaaya Management Consultancy was tracking its finances across scattered files. Invoices, payments and expenses lived in different places, so producing a customer statement or a monthly report meant hours of manual reconciliation and room for error.
The Solution
I designed and built Reaaya Finance on my own, end to end: a single web system that holds every financial record of the company, from the first invoice to the final report. It is fully bilingual, Arabic and English, with proper right-to-left layouts, and built so that the numbers always agree with each other.
Accounting Accuracy
Amounts are stored as integers in thousandths to avoid rounding errors and to support three-decimal currencies. Tax and line totals are rounded once, invoice and receipt numbers are never reused after deletion, and currency, tax rate, numbering prefixes and company details are managed from the settings page.
Technical Stack
Next.js 16 (App Router and Server Actions) with React 19 and TypeScript. PostgreSQL 16 through Drizzle ORM, authentication and sessions with Better Auth, Tailwind CSS 4, Motion for animation and Recharts for charts. Excel export is generated in-house without third-party libraries. Deployed on a Linux server with PM2 cluster reloads behind Nginx, using release folders and a safe migration routine that backs up the database, rehearses on a copy and verifies row counts before applying changes.
Results
The company now runs its daily finance from one place: invoices, payments and expenses are recorded once, statements and reports are produced in seconds, and every team member works with exactly the permissions they need.
Key features
Invoices, receipts, revenues, expenses and cheques in one system
Customer statements and receivables aging that always reconcile
Financial reports with charts and multi-sheet Excel export
Three-level role-based access: viewer, accountant, administrator
Arabic and English interface with full RTL support and dark mode
Print-ready invoices, receipts, cheques and reports
In-app user guide with interactive guided tours
Safe database migrations with automatic backups and row-count checks
Gallery






Technology
