16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
const express = require('express');
|
|
const app = express();
|
|
const PORT = 3000;
|
|
|
|
app.get('/health', (req, res) => {
|
|
res.json({
|
|
status: 'OK',
|
|
timestamp: new Date().toISOString(),
|
|
server: 'DOCX Template Server',
|
|
version: '1.0.0'
|
|
});
|
|
});
|
|
|
|
app.listen(PORT, () => {
|
|
console.log(`Test server läuft auf http://localhost:${PORT}`);
|
|
}); |