/fastify-api-typescript-boilerplate

Fastify API framework with TypesScript support

Primary LanguageTypeScript

Fastify API with TypeScript

This project provides a basic Fastify API built with TypeScript. It includes:

  • Type-safe routing and validation
  • Efficient JSON serialization
  • Example endpoints (GET, POST) for demonstration

Table of Contents

Installation

  • Run npm ci
  • Create .env.development or copy from .env.example
  • Change env variables

Usage

Dev

Run npm run start:watch

Production

Run npm run start

Build

Run npm run build

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

License

ISC @ Vladimir Poplavskij