More Premium Hugo Themes Premium Nextjs Themes

Turborepo Starter

A starter monorepo built with Turborepo, Nextjs, Docker, Rollup, Typescript, Storybook, Jest and Tailwind.

Turborepo Starter

A starter monorepo built with Turborepo, Nextjs, Docker, Rollup, Typescript, Storybook, Jest and Tailwind.

Author Avatar Theme by thmsmtylr
Github Stars Github Stars: 96
Last Commit Last Commit: Jul 12, 2024 -
First Commit Created: Jan 15, 2024 -
default image

Overview

The Turborepo starter is a monorepo project template built with Next.js, TypeScript, Docker, ESLint, Jest, Prettier, Rollup.js, Tailwind, and Storybook. It provides a set of pre-configured tools and packages for developing and deploying multiple Next.js applications and a React component library.

Features

  • Yarn as the package manager
  • Multiple Next.js apps: docs, web, and admin
  • React component library shared by the apps
  • Storybook.js app for building UI components
  • ESLint configurations for code linting
  • TypeScript for static type checking
  • Jest test runner for JavaScript
  • Prettier for code formatting
  • Rollup.js module bundler for packaging the component library
  • GitHub Actions for publishing the component library
  • Docker as an alternative build/development tool
  • Tailwind CSS framework for styling

Installation

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

$ npm run build

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

$ npm run develop

For Vercel deployment, each app in the apps directory needs to be deployed as separate projects. Refer to vercel.json for Vercel deployment configuration.

Summary

The Turborepo starter is a comprehensive project template that provides a set of pre-configured tools and packages for developing and deploying multiple Next.js applications and a React component library. It offers features like TypeScript, ESLint, Jest, Prettier, Rollup.js, Docker, Tailwind, and Storybook, making it a powerful choice for building robust web applications.