- import fastify, { FastifyServerOptions } from 'fastify';
-
- export interface CreateServerOptions extends FastifyServerOptions {}
-
- export const createServer = (options = {} as CreateServerOptions) => {
- const server = fastify(options);
-
- // TODO set up server stuff here
-
- return server;
- };
|