Skip to content

Instantly share code, notes, and snippets.

@chientrm
Created June 17, 2022 12:13
Show Gist options
  • Save chientrm/555211b68de411c4f61ae4c301ec6166 to your computer and use it in GitHub Desktop.
Save chientrm/555211b68de411c4f61ae4c301ec6166 to your computer and use it in GitHub Desktop.
import express from 'express';
import { handler } from './handler.js';
const app = express();
app.get('/healthcheck', (_, res) => res.send('ok'));
app.use(handler);
app.listen(3001);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment