Skip to content

About

Ultimate Starter Kit with Shadcn and Server Side Rendering

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

CI

React Router + Shadcn Starter Kit with SSR

A modern full-stack starter kit built with React Router, TurboRepo, and TypeScript.

Project Structure

This is a monorepo managed by TurboRepo containing:

  • apps/client - React Router application with modern UI components
  • packages/typescript-config - Shared TypeScript configurations & lib example

Prerequisites

  • Node.js >= 18
  • pnpm 9.0.0 or higher

Getting Started

Clone the Repository

git clone git@github.com:ts-ign0re/react-router-shadcn-starter.git
cd react-router-shadcn-starter

Install Dependencies

pnpm install

Available Commands

Development

Start the development server:

pnpm dev

Build

Build all packages and applications:

pnpm build

Type Checking

Run type checking across all packages:

pnpm check-types

Linting

Run linting across all packages:

pnpm lint

Formatting

Format code using Biome:

pnpm format

Adding Dependencies

Adding Dependencies to Specific Packages

Use the --filter flag to add dependencies to specific packages:

# Add a dependency to the client app
pnpm add --filter=client <dependency-name>

# Add a dev dependency to the client app
pnpm add --filter=client -D <dependency-name>

# Add a dependency to a specific package
pnpm add --filter=<package-name> <dependency-name>

Examples

# Add React Query to the client app
pnpm add --filter=client @tanstack/react-query

# Add a dev dependency
pnpm add --filter=client -D @types/node

# Add a dependency to the root workspace
pnpm add <dependency-name>

Technology Stack

  • Framework: React Router v7
  • Build Tool: TurboRepo
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: Shadcn Radix UI
  • Linting/Formatting: Biome
  • Package Manager: pnpm

Project Configuration

  • Package Manager: pnpm 9.0.0
  • Node Version: >= 18
  • TypeScript: 5.9.2
  • Turbo: 2.5.6

Development Workflow

  1. Clone the repository
  2. Install dependencies with pnpm install
  3. Start development with pnpm dev
  4. Run type checking with pnpm check-types
  5. Run linting with pnpm lint
  6. Format code with pnpm format
  7. Build for production with pnpm build

Author

Tronin Denis Email: me@tronin.dev

About

Ultimate Starter Kit with Shadcn and Server Side Rendering

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages