Files
komodo/app.js
Komodo Bot 88a5a774b8 Initial demo setup for Komodo + Gitea integration
Added:
- Simple Express.js app with health endpoint
- Dockerfile for containerization
- Docker Compose configuration
- Komodo resource definitions (.komodo/resources.toml)
- Comprehensive README with integration details

This repo demonstrates Build, Stack, and Sync resources.
2025-12-14 13:52:02 -08:00

20 lines
416 B
JavaScript

const express = require('express');
const app = express();
const PORT = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.json({
message: 'Hello from Komodo Demo!',
version: '1.0.0',
timestamp: new Date().toISOString()
});
});
app.get('/health', (req, res) => {
res.json({ status: 'healthy' });
});
app.listen(PORT, () => {
console.log(`Komodo demo app running on port ${PORT}`);
});