Skip to content

Boilerplate to quickly create a backend with fastify.js framework using typescript and the latest tooling.

Notifications You must be signed in to change notification settings

shpetimselaci/fastify-esbuild-typescript-vite

Repository files navigation

Boilerplate for Fastify + Typescript + esbuilt + Vite + Eslint + Prettier

This boilerplate has the intention to increase the speed of creating a Backend API setup, using all the fastest tools available at the moment.

It has prettier enabled by default in VSCode, so everything is always formatted.

Node version: 16.4.0 npm version: 6.14.15

To set up the backend, first install dependencies:

npm run install // or npm i

To run the server:

npm run dev // or npm i

To build the server:

npm run build // creates a minified file to build/index.js

To run tests:

npm run  test // or npm run coverage

To lint files:

npm run install // or npm i

Feel free to create a PR for possible improvements!

About

Boilerplate to quickly create a backend with fastify.js framework using typescript and the latest tooling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published