Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vercel-labs/oss-gtm-feedback/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, ensure you have the following installed:Node.js
Version 20 or higher
pnpm
Version 10 or higher (required)
Clone and Install
Environment Configuration
Create environment files
Create
.env files for the relevant apps based on the environment variables defined in:apps/www/src/lib/env.server.tsapps/www/src/lib/env.client.ts- Slack app config files under
apps/slack-app/server/**
Database Setup
Running the Development Server
- Web app:
http://localhost:3000 - Slack app:
http://localhost:3001
Monorepo Structure
The project uses a pnpm workspace monorepo with the following structure:View workspace structure
View workspace structure
Workspace Configuration
The workspace is defined inpnpm-workspace.yaml:
Package Organization
apps/www
Next.js 16 web app for feedback collection and reporting
apps/slack-app
Slack integration for capturing feedback via reactions and commands
packages/ai
Shared AI helpers (agents, tools, embeddings)
packages/database
Drizzle ORM schema and utilities
packages/redis
Redis/Upstash client helpers
packages/config
Shared configuration and utilities
Development Commands
Root-level commands
Run from the monorepo root:Workspace-specific commands
Run commands in specific workspaces:Troubleshooting
Port already in use
Port already in use
If you see an error that port 3000 or 3001 is already in use:
pnpm install fails
pnpm install fails
Ensure you’re using pnpm 10 or higher:
Database connection errors
Database connection errors
Verify your
DATABASE_URL is correct and the database is accessible:Module not found errors
Module not found errors
Try clearing the cache and reinstalling:
Next Steps
Database
Learn about database operations and schema
Workflows
Create and test background workflows
Contributing
Read the contribution guidelines