Skip to content

Turbo starter monorepo with Nextjs application with tailwindcss, shancn-ui components and an API with Fastify with zod validation plug-in, swagger and scalar docs

Notifications You must be signed in to change notification settings

meiazero/fastify-nextjs-turbo

Repository files navigation

Turborepo starter

Using this example

Run the following command:

pnpm dlx create-turbo@latest -e https://github.com/meiazero/fastify-nextjs-turbo

What's inside?

This Turborepo includes the following packages, apps and configuration:

Apps, Packages and Configuration

  • api: a Fastify backend application;
  • web: another Next.js frontend application;
  • @repo/shadcn-ui: a stub React component shared by web application;
  • @repo/tailwind-config: a Tailwind configuration file;
  • @repo/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier);
  • @repo/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:

cd my-turborepo
pnpm build

Develop

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

cd my-turborepo
pnpm dev

Useful Links

Learn more about the power of Turborepo:

About

Turbo starter monorepo with Nextjs application with tailwindcss, shancn-ui components and an API with Fastify with zod validation plug-in, swagger and scalar docs

Topics

Resources

Stars

Watchers

Forks