add test-cicd code

This commit is contained in:
2026-04-17 09:15:51 +07:00
parent 11bb25d772
commit 26ac517674
5 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.json({
message: 'Hello World from Antigravity!',
status: 'success',
timestamp: new Date().toISOString()
});
});
app.get('/health', (req, res) => {
res.status(200).send('OK');
});
if (require.main === module) {
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});
}
module.exports = app;