ubiquitous-invention/.env.example
Randall Stillwell a508ece6e7 feat: Full project management application scaffold
Complete architecture for a ClickUp/Notion/Miro-class project management app:

- Turborepo monorepo with Next.js 15, TypeScript, PostgreSQL (Drizzle ORM)
- Object-centered database schema (everything is an Object: tasks, projects, docs, whiteboards)
- NextAuth v5 authentication with credentials + OAuth providers
- tRPC v11 API layer with full CRUD for objects, properties, relations, templates, search
- Three-panel UI: collapsible sidebar, center content area, push-in right panel
- Purple/teal theme with light/dark mode via Shadcn/ui + Tailwind CSS
- Multiple views: List, Kanban board (dnd-kit), Table (spreadsheet), Embedded iframe
- TipTap rich text editor with slash commands, custom blocks (callout, toggle, mention, embed, divider), AI block
- Real-time collaboration via Yjs + Hocuspocus with presence/cursors
- tldraw whiteboard with custom shape cards (task, document, project)
- MCP server exposing all app data/tools for AI agents
- AI chat panel, editor AI slash commands, Cmd+K command palette
- Template system with built-in templates (Bug Report, Meeting Notes, Sprint)
- Full-text search with result highlighting
- Docker Compose for full-stack deployment (web + collab + postgres + redis)

Made-with: Cursor
2026-03-26 22:39:16 -05:00

40 lines
1.1 KiB
Text

# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/tasks"
# Auth (NextAuth)
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your-secret-here-generate-with-openssl-rand-base64-32"
# OAuth Providers (optional)
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Redis
REDIS_URL="redis://localhost:6379"
# Collaboration Server (browser / clients)
COLLAB_SERVER_URL="ws://localhost:1234"
# AI Providers
OPENAI_API_KEY=""
ANTHROPIC_API_KEY=""
# MCP Server (stdio transport today; port reserved for future HTTP/SSE)
MCP_SERVER_PORT=3001
# --- Docker Compose (optional; copy to .env and adjust) ---
# When all app services run in Docker, use service hostnames:
# DATABASE_URL="postgresql://postgres:postgres@postgres:5432/tasks"
# REDIS_URL="redis://redis:6379"
# COLLAB_SERVER_URL="ws://localhost:1234"
# (Browsers still reach the collab service via the published host port.)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=tasks
POSTGRES_PORT=5432
REDIS_PORT=6379
WEB_PORT=3000
COLLAB_PORT=1234