fastify-drizzle-template

A Node.js & Fastify guide for user authentication, request validations, ORMs, & more.

MIT License

Stars
3
Committers
1

Guide

Frontend built to integrate 1:1 with this project: https://github.com/zacharynoble/next-template

Set-up Environment Variables

  • Create a new file at the root level of the project directory named .env.
  • Copy the contents of .env.example to .env
  • Update any environment variables using placeholders to match your config

Install Packages

npm install

Start the application in dev mode

npm run dev

Start the application in production mode

npm run build
npm run start

Generate SQL migration script

npm run generate

Browser SQL editor

npm run studio
Related Projects