Fork this template repository.
This Turborepo includes the following packages/apps:
api: a Directus app with a seeder extensiondocs: a Next.js app with Tailwind CSS and Shadcn UIweb: another Next.js app with Tailwind CSS and Shadcn UI and the directus sdk linked with next-authui: a stub React component library with Tailwind CSS and Shadcn UI shared by bothwebanddocsapplicationstailwind-config:tailwind.config.tsused throughout the monorepoeslint-config:eslintconfigurations (includes@tanstack/eslint-plugin-query/recommendedandnext/core-web-vitals)tsconfig:tsconfig.jsonused throughout the monorepotsup-config:tsup.config.tsused throughout the monorepocronTimeV2:cronTimewith additional featuresbin:binwithcliforscheduleCliand other tools likerunUntilandenvCli
Each package/app is 100% TypeScript.
This example is setup to build packages/ui and output the transpiled source and compiled styles to dist/. This was chosen to make sharing one tailwind.config.ts as easy as possible, and to ensure only the CSS that is used by the current application and its dependencies is generated.
This Turborepo has some additional tools already setup for you:
- Tailwind CSS for styles
- Shadcn UI for ui components
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- next-auth for authentication {linked with directus}
- directus for headless CMS
- tsup for bundling
- declarative-routing for routing