mirror of
https://github.com/blackboxprogramming/blackroad-apps.git
synced 2026-03-17 09:37:52 -05:00
All published on BlackRoad OS App Store: - Dashboard, Metrics, Vault, Agent Hub - Commander, Analytics, Monitor - Deployer, Studio, Sync - Plus the original First App Zero gatekeepers. Zero fees.
26 lines
621 B
JavaScript
26 lines
621 B
JavaScript
const express = require('express');
|
|
const app = express();
|
|
const PORT = process.env.PORT || 3000;
|
|
|
|
app.use(express.json());
|
|
|
|
app.get('/health', (req, res) => {
|
|
res.json({ status: 'healthy', service: 'RoadSide', version: '1.0.0' });
|
|
});
|
|
|
|
app.get('/', (req, res) => {
|
|
res.json({
|
|
name: 'RoadSide',
|
|
description: 'Connections, Deploy & DNS Management Portal',
|
|
features: [
|
|
'Server connections management',
|
|
'Deployment dashboard',
|
|
'DNS configuration',
|
|
'CLI integration',
|
|
'Real-time status',
|
|
],
|
|
});
|
|
});
|
|
|
|
app.listen(PORT, () => console.log('RoadSide running on port ' + PORT));
|