Last active
April 6, 2020 00:36
-
-
Save wwwmarcos/a0c63465d497e54262dc437e8137f15e 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
// index.js | |
const express = require('express') | |
const app = express() | |
const APP_PORT = 3000 | |
app.get('/setup', async (_req, res) => { | |
res.send('ok') | |
}) | |
app.listen(APP_PORT, () => { | |
console.log(`listening on ${APP_PORT}`) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment