Skip to content

dm94/fastify-boilerplate

Repository files navigation

fastify-boilerplate

Fastify boilerplate with typescript, tests and swagger

This boilerplate is a mix of others for a minimum configuration.

Features

  • Typescript + eslint + Prettier
  • Routes are automatically generated on the base of the folders.
  • Documentation is automatically generated in OpenAPI as you create endpoints.
  • Connectors for MongoDB and MySQL
  • Added JWT
  • CORS-ready

Fastify Plugins

Installation

With npm

  npm install
  npm run dev

With pnpm

  pnpm install
  pnpm run dev

Swagger UI

Only enabled for the development environment

http://localhost:8080/doc

About

Fastify boilerplate with typescript, tests and swagger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published