Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 784 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 784 Bytes

fastify-ts-boilerplate

Boilerplate for HTTP REST applications powered by Fastify, using TypeScript and Node.

Features

  • Fastify installed with a health check endpoint included
  • Jest + Supertest endpoint testing setup for TypeScript
  • ESLint + Prettier + Husky + Lint-Staged setup for git workflows that ensure consistent styling

Getting Started

Clone the project:

git clone https://github.com/MoSheikh/react-ts-boilerplate.git <new_project>
cd <new_project>
npm i

Start at the parent directory of the project you want to create and clone the git project.

Start the dev server using:

npm run dev

This executes the command tsc -w & nodemon build to watch for changes to TypeScript files to recompile and execute the new files.