Created
June 17, 2022 12:13
-
-
Save chientrm/555211b68de411c4f61ae4c301ec6166 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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