import express from 'express';

const app = express();
app.use(express.json());

app.get('/health', (_req, res) => {
  console.log('Health endpoint hit');
  res.json({ status: 'ok' });
});

const port = 3001;
app.listen(port, () => {
  console.log(`Minimal server listening on ${port}`);
});