'use strict'; // Entry point of the MOCK Oracle Fusion-style app (NOT Oracle software). Shared shell + pluggable module packs // (mock-app/modules//). Synthetic data only; "Sign in" just picks a persona cookie; no credentials. const { buildApp } = require('./core/shell'); const app = buildApp(); const PORT = Number(process.env.PORT || 3100); // Loopback only unless MOCK_HOST says otherwise (a standalone practice pod that people open in a browser). const HOST = process.env.MOCK_HOST || '127.0.0.1'; if (require.main === module) app.listen(PORT, HOST, () => console.log(`Mock Fusion (NOT Oracle) listening on http://${HOST}:${PORT}`)); module.exports = app;