const express = require('express'); const cors = require('cors'); const path = require('path'); const app = express(); const PORT = process.env.PORT || 3000; app.use(cors()); app.use(express.json()); app.use(express.static(path.join(__dirname, 'public'))); const API_BASE = process.env.API_BASE || 'http://localhost:3000'; app.get('/health', (req, res) => { res.json({ status: 'healthy', service: 'app', version: '1.3.0' }); }); app.get('/', (req, res) => { res.send(` Falah OS โ€” Wallet App

Falah OS

Sovereign Digital Economy Platform

๐Ÿ›ก๏ธ Ummah ID

Zero-knowledge identity verification. Your device links to a verified sovereign citizen without a single byte of PII ever leaving your control.

โšก Wallet

High-throughput, stateless routing engine. Create wallets, check balances, and initiate atomic transfers at Category A speed.

๐Ÿ“œ RAMZ

Pre-audited Shariah contracts as code. Qard al-Hasan, Mudarabah, and Zakat โ€” plug-and-play primitives any developer can deploy.

๐Ÿงช Mock-Net

A complete digital twin of the Falah economy. Develop and test in a synthetic environment before touching mainnet.

All services operational โ€” v1.3.0

Core Services

Ummah ID (3001) Wallet (3002) RAMZ (3003) Mock-Net (3004) API Gateway (3000)
`); }); app.listen(PORT, () => { console.log(`๐Ÿ‘› Wallet App running on port ${PORT}`); console.log(` Open http://localhost:${PORT} in your browser`); });