Work in Progress: This page is under development. Use the feedback button on the bottom right to help us improve it.

Frontend Development

Prerequisites

  • Node.js 22+
  • npm 9+
# Check versions
node --version  # v22.x.x
npm --version   # 9.x.x

Console App

The main Laminar UI for managing pipelines.

cd laminar-frontend/console
 
# Install dependencies
task install
 
# Run dev server
task dev

Dev server runs at http://localhost:3000.

Environment Variables

Create .env.local:

# Backend API
NEXT_PUBLIC_API_URL=http://localhost:8080
 
# Auth
AUTH_SECRET=<openssl rand -base64 32>
AUTH_URL=http://localhost:3000
AUTH_GOOGLE_ID=<google-client-id>
AUTH_GOOGLE_SECRET=<google-client-secret>

Google OAuth

Add redirect URI in Google Cloud Console:

http://localhost:3000/api/auth/callback/google

Product App

Marketing site and documentation.

cd laminar-frontend/product
 
# Install dependencies
task install
 
# Run dev server
task dev

Dev server runs at http://localhost:3000.

Commands

Both apps support:

CommandDescription
task installInstall dependencies
task devRun dev server
task buildProduction build
task lintRun linter

Docker Build

# Console
cd console && task docker:build
 
# Product
cd product && task docker:build

Push to ECR

# Login to ECR
task ecr:login
 
# Push Console
cd console && task ecr:push
 
# Push Product
cd product && task ecr:push