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(`
Sovereign Digital Economy Platform
Zero-knowledge identity verification. Your device links to a verified sovereign citizen without a single byte of PII ever leaving your control.
High-throughput, stateless routing engine. Create wallets, check balances, and initiate atomic transfers at Category A speed.
Pre-audited Shariah contracts as code. Qard al-Hasan, Mudarabah, and Zakat โ plug-and-play primitives any developer can deploy.
A complete digital twin of the Falah economy. Develop and test in a synthetic environment before touching mainnet.