Last active
March 6, 2018 13:57
-
-
Save delvedor/4e229970921ae35d7bf712c9c60698f6 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
const fastify = require('fastify')() | |
fastify.get('/', async (request, reply) => { | |
return { hello: 'world' } | |
}) | |
fastify.get('/callbacks', (request, reply) => { | |
reply.send({ hello: 'world' }) | |
}) | |
fastify.listen(3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment