This is a Turborepo template designed for full-stack web development, featuring a modular monorepo structure. It includes:
Make sure you have the following installed:
Clone this repository:
git clone https://github.com/VLyned/turborepo-fullstack-template.git
Install dependencies:
cd turborepo-fullstack-template
pnpm install
Run the development server:
pnpm run dev
Open http://localhost:3000 to view the app.
📦monorepo-fullstack-template
┣ 📂.husky/ # Git hooks for pre-commit checks
┣ 📂.vscode/ # VSCode workspace settings
┣ 📂apps/ # Application layer
┃ ┗ 📂web/ # Main Next.js web app
┃ ┃ ┣ 📂public/ # Static assets
┃ ┃ ┣ 📂src/ # Source files
┃ ┃ ┃ ┣ 📂app/ # Next.js app directory
┃ ┃ ┃ ┣ 📂components/ # Shared components
┃ ┃ ┃ ┣ 📂hooks/ # Custom React hooks
┃ ┃ ┃ ┗ 📂lib/ # Utility functions
┃ ┃ ┣ 📜next.config.ts # Next.js configuration
┃ ┃ ┗ 📜package.json # Web app dependencies
┣ 📂packages/ # Shared packages across the monorepo
┃ ┣ 📂config-tailwind/ # Tailwind CSS configuration package
┃ ┣ 📂config-typescript/ # TypeScript configuration presets
┃ ┗ 📂ui/ # Reusable UI components package
┃ ┃ ┣ 📂src/components/ # UI components (button, card, etc.)
┃ ┃ ┣ 📂src/styles/ # Global styles
┃ ┃ ┗ 📜package.json # UI library dependencies
┣ 📜.editorconfig # Code formatting rules
┣ 📜.gitignore # Git ignore file
┣ 📜.npmrc # npm configuration
┣ 📜biome.json # Biome configuration
┣ 📜package.json # Root package dependencies
┣ 📜pnpm-workspace.yaml # pnpm workspace configuration
┣ 📜turbo.json # Turborepo configuration
┗ 📜README.md # This file
Configured by VLyned - Diego Veramendi