diff --git a/main.js b/main.js new file mode 100644 index 0000000..1408c2e --- /dev/null +++ b/main.js @@ -0,0 +1,29 @@ +const fastify = require('fastify')({ logger: true }); + +fastify.route({ + method: 'GET', + url: '/', + schema: { + querystring: { + + }, + response: { + 200: { + + } + } + }, + preHandler: async (res, reply) => { + + }, + handler: async (res, reply) => { + + } +}) + +try { + await fastify.listen({ port: 3000 }) +} catch (err) { + fastify.log.error(err) + process.exit(1) +} \ No newline at end of file