GitHunt
EV

everton-dgn/boilerplate_fastify

This boilerplate project provides a solid starting point for building scalable and maintainable APIs using Node.js and Fastify. It adheres to best practices, includes linting with ESLint, and comes pre-configured with a testing suite.

Boilerplate Node + Fastify

📝 Sobre o Projeto

This application is a boilerplate for complex and large systems, especially those that need to scale with security and code quality.


📌 Indice



🌐 Tecnologias Utilizadas

  • Node.js
  • TypeScript
  • Fastify
  • Jest
  • Supertest
  • Lints: Husky, ESlint, Stylelint, Commitlint, Lint-Staged e Prettier
  • Swagger and Swagger UI


✅ Pre Requisitos

  • node última versão lts.
  • yarn.


❓ Como Utilizar

Clone o projeto e navegue até a pasta:

git clone https://github.com/everton-dgn/boilerplate_fastify.git
cd boilerplate_fastify

Instale as dependências:

yarn


🔧 Configuracao

Crie um arquivo .env na raiz do projeto e adicione as variáveis de ambiente:

APP_PORT=5000


⚡ Execucao

Disponível em http://localhost:5000.

Desenvolvimento:

yarn dev

Produção:

yarn build
yarn start

Languages

TypeScript58.3%JavaScript41.7%

Contributors

MIT License
Created September 24, 2023
Updated February 20, 2026