Skip to content

Instantly share code, notes, and snippets.

@wwwmarcos
Last active April 6, 2020 00:36
Show Gist options
  • Save wwwmarcos/a0c63465d497e54262dc437e8137f15e to your computer and use it in GitHub Desktop.
Save wwwmarcos/a0c63465d497e54262dc437e8137f15e to your computer and use it in GitHub Desktop.
// 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