/fastify-drizzle-quick-start

Quick start for Fastify, TypeScript, XO, Prettier and DrizzleORM w/ Postgres and Redis

Primary LanguageTypeScript

fastify-drizzle-quick-start

Quick start for Fastify, TypeScript, ESlint, Prettier and DrizzleORM

Quick Start

Comes equipped with

  • Dockerfile including postgres and redis
  • TypeScript
  • XO
  • Prettier
  • DrizzleORM
  • Fastify
  • Zod

Prerequisites

Getting Started

  1. Clone the repo
  2. Run yarn install
  3. Run docker-compose up -d (-d to detach from the terminal)
  4. Run yarn dev to start the dev server
  5. Make your changes
  6. Run yarn lint to lint your code
  7. Run yarn build to build the project
  8. Run yarn start to start the production server