npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-turborepo-full-stack-template

v1.0.11

Published

Create a full-stack Turborepo project with Next.js, NestJS, Expo, and Electron

Readme

create-turborepo-full-stack-template

Create a full-stack Turborepo project with Next.js, NestJS, Expo, and Electron in one command.

Quick Start

# Using npx (recommended)
npx create-turborepo-full-stack-template my-project

# Using pnpx
pnpx create-turborepo-full-stack-template my-project

What's Included

This template creates a complete monorepo with:

| App | Description | Port | | ----------------------------- | ----------------------- | ---- | | apps/<project-name>-api | NestJS 11 backend API | 8000 | | apps/<project-name>-web | Next.js 16 web frontend | 3000 | | apps/<project-name>-app | Expo 54 mobile app | - | | apps/<project-name>-desktop | Electron desktop app | - |

Shared Packages

  • @repo/ui - Shared React components (CVA + Tailwind)
  • @repo/eslint-config - ESLint presets (base, nestjs, next)
  • @repo/typescript-config - TypeScript configs
  • @repo/server-shared - NestJS shared utilities (filters, interceptors, config)
  • @repo/i18n - Internationalization config
  • @repo/types - Shared TypeScript types
  • @repo/utils - Shared utilities
  • @repo/consts - Shared constants
  • @repo/exception - Exception codes

Usage

Interactive Mode

npx create-turborepo-full-stack-template

With Project Name

npx create-turborepo-full-stack-template my-awesome-project

Skip Dependency Installation

npx create-turborepo-full-stack-template my-project --skip-install

Options

| Option | Description | | ---------------- | ---------------------------------- | | --skip-install | Skip pnpm install after creation | | --help, -h | Show help message | | --version, -v | Show version |

After Creation

cd my-project

# Start PostgreSQL and push Prisma schema
pnpm setup:local

# Start development (API + Web)
pnpm dev

Available Commands

pnpm dev                    # Start API + Web (not mobile/desktop)
pnpm build                  # Build all packages
pnpm lint                   # Lint with auto-fix
pnpm check-types            # TypeScript type check
pnpm test                   # Run all tests
pnpm format                 # Prettier format all files

App Generator

Add new apps to your project using the built-in CLI generator:

pnpm create-app                           # Interactive mode
pnpm create-app <name> --from <template>  # Create new app from template
pnpm create-app --list                    # List available templates

Available templates: mobile, desktop, web, api

App-Specific Commands

# Use pnpm <project-name>-<app> <command>
pnpm my-project-api dev              # Start API only
pnpm my-project-web dev              # Start Web only
pnpm my-project-api prisma studio    # Open Prisma Studio
pnpm my-project-api prisma generate  # Generate Prisma client
pnpm my-project-api prisma db push   # Push schema changes

# API Testing
pnpm my-project-api test:unit        # Fast, isolated unit tests
pnpm my-project-api test:integration # With database
pnpm my-project-api test:e2e         # Full HTTP tests

Requirements

  • Node.js >= 18 (Node.js >= 22 recommended for the generated project)
  • pnpm (v10+ recommended)
  • Docker (for PostgreSQL)

Tech Stack

  • Build System: Turborepo
  • Package Manager: pnpm 10
  • Backend: NestJS 11, Prisma 6
  • Frontend: Next.js 16, React 19
  • Mobile: Expo 54, React Native 0.81
  • Desktop: Electron with Forge
  • Styling: Tailwind CSS 4
  • Language: TypeScript 5.9
  • Testing: Jest, ts-jest

Project Structure

apps/
  <project-name>-api/       # NestJS backend
    src/modules/            # Feature modules (use-case pattern)
    src/infra/              # Infrastructure (database, etc.)
    prisma/schema/          # Prisma schema files
    test/                   # unit/, integration/, e2e/
  <project-name>-web/       # Next.js frontend (App Router)
    src/app/[locale]/       # i18n routes with next-intl
    src/messages/           # en.json, ko.json
  <project-name>-app/       # Expo mobile app
  <project-name>-desktop/   # Electron desktop app

packages/
  ui/                       # Shared React components
  eslint-config/            # ESLint presets
  typescript-config/        # TSConfig presets
  i18n/                     # Shared i18n config
  server-shared/            # NestJS shared utilities
  shared/
    consts/                 # Shared constants
    types/                  # Shared TypeScript types
    exception/              # Exception codes
    utils/                  # Shared utilities

License

MIT