/fastify-template

A simple template construct for fastify REST API

Primary LanguageJavaScript

Simple fastify template

About

A simple template construct with

  • kind of dynamic routes loading (have to be registred)
  • controllers handling the logic
  • schema validation (handled in the routes)
  • swagger UI (base configuration in documentation/swagger.js)
  • specific logging (see logger.js)

Get started

# install all dependencies based on package.json
npm install

# start application
npm run serve
or
nodemon server.js