Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.44 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.44 KB

Fastify Next.js Monorepo Starter

Turborepo setup for using:

  • Fastify
  • Next.js
  • Supabase Auth
  • ESLint
  • Typescript

What's inside?

This turborepo uses pnpm as a package manager. It includes the following packages/apps:

Apps and Packages

  • api: a Fastify app using Supabase for auth plugin and exposes an OpenAPI spec for generating typesafe clients.
  • web: a Next.js app that uses Orval to generate a typesafe axios client
  • ui: a stub React component library shared by the web application
  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • eslint-config-custom-server: eslint configuration base for server apps
  • tsconfig: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Utilities

This turborepo has some additional tools already setup for you:

Build

To build all apps and packages, run the following command:

pnpm run build

Develop

To develop all apps and packages, run the following command:

pnpm run dev

TODO

  • Figure out the issue with ui package not having the testing-library jest matchers.