/fastify-starter

a fastify@4 boilerplate with typescript and esbuild

Primary LanguageJavaScriptMIT LicenseMIT

A fastify boilerplate with typescript

usage

bootstrap

  • Vscode Debug mode
-> F5
Pnpm Launch Program
  • Docker mode
sh start.sh
  • Hot reload mode
pnpm dev
  • Preview mode
pnpm build
# start server
pnpm runner:local

https

maybe use mkcert, ref -> mkcert

# in chrome enable chrome://flags/#allow-insecure-localhost
brew install mkcert nss
mkcert localhost 127.0.0.1 ::1
mkcert -install

# open keychain access.app & trust