import express from 'express';
import { router } from './routes/health.js';

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

const port = Number(process.env['PORT'] ?? 8080);
app.listen(port, () => console.log(`Server listening on :${port}`));
