Files
boc/vims-backend/server.js
T

28 lines
844 B
JavaScript
Raw Normal View History

const express = require('express');
const app = express();
const PORT = process.env.PORT || 3450;
app.get('/health', (req, res) => {
res.json({ status: 'ok', service: 'vims', version: '1.0.0' });
});
app.get('/api/v1/reality-alerts/product/info', (req, res) => {
res.json({
success: true,
product: {
name: 'Reality Alerts™',
tagline: 'Transform verified real-world observations into actionable intelligence',
description: 'Reality Alerts™ enables anyone to instantly capture and submit verified observations of real-world problems.',
positioning: {
parent: 'QUIXZOOM',
parentTagline: 'The world\'s infrastructure intelligence network',
role: 'Real-time observation engine'
}
}
});
});
app.listen(PORT, () => {
console.log(`VIMS API running on port ${PORT}`);
});