Skip to content

BurakYs/fastify-example

Repository files navigation

Fastify Logo

🚀 Fastify Example

A simple example for a REST API using Fastify, TypeScript, Zod, and Swagger.


⚙️ Features

🛠️ Commands

  • pnpm start: Start the production server
  • pnpm dev: Start the development server
  • pnpm dev:watch: Start the development server with file watching
  • pnpm typecheck: Run type checking
  • pnpm lint: Run linter
  • pnpm format: Format the code
  • pnpm test: Run tests
  • pnpm check: Run all checks (type checking, formatting and tests)

📦 Setup

git clone https://github.com/BurakYs/fastify-example.git
cd fastify-example
pnpm install
cp .env.example .env

📝 License

This project is licensed under the MIT License.

About

Fastify URL Shortener example with TypeScript, Swagger and Zod

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project