const express = require('express'); const app = express(); const PORT = process.env.PORT || 8080; app.use(express.json()); app.get('/hello', (req, res) => { res.json({ message: 'Hello from git-serverless!' }); }); app.get('/health', (req, res) => { res.json({ status: 'ok' }); }); app.listen(PORT, () => { console.log(`Server running on port ${PORT}`); });