Skip to main content

Installation

Prerequisites

  • Node.js 18+
  • pnpm 9+
  • PostgreSQL (for database features)

Setup

# Clone repository
git clone https://github.com/jcbdevelopment/monostack-v2.git
cd monostack-v2

# Install dependencies
pnpm install

# Copy environment file
cp apps/your-app/.env.example apps/your-app/.env

# Run database migrations
pnpm db:push

# Start development server
pnpm dev

Creating a New App

Use the CLI to scaffold a new app:

pnpm mono app my-app

Creating a New Domain

Add a domain to an existing app:

pnpm mono scaffold domain my-domain --app my-app

Next Steps