faaso/runtimes/express/template/funko.js
2024-07-08 22:02:47 -03:00

16 lines
281 B
JavaScript

const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.get('/ping', (req, res) => {
res.send('OK')
})
app.listen(port, () => {
console.log(`Example funko listening on port ${port}`)
})