Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shpetimselaci/fastify-esbuild-typescript-vite
Boilerplate to quickly create a backend with fastify.js framework using typescript and the latest tooling.
https://github.com/shpetimselaci/fastify-esbuild-typescript-vite
esbuild eslint fastify prettier typescript vite
Last synced: 8 days ago
JSON representation
Boilerplate to quickly create a backend with fastify.js framework using typescript and the latest tooling.
- Host: GitHub
- URL: https://github.com/shpetimselaci/fastify-esbuild-typescript-vite
- Owner: shpetimselaci
- Created: 2022-03-11T11:00:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-12T08:40:54.000Z (over 2 years ago)
- Last Synced: 2024-08-02T15:46:38.270Z (3 months ago)
- Topics: esbuild, eslint, fastify, prettier, typescript, vite
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.15To set up the backend, first install dependencies:
```js
npm run install // or npm i
```To run the server:
```js
npm run dev // or npm i
```To build the server:
```js
npm run build // creates a minified file to build/index.js
```To run tests:
```js
npm run test // or npm run coverage
```To lint files:
```js
npm run install // or npm i
```Feel free to create a PR for possible improvements!