AI-native issue tracking built on the Trinity Architecture.
# Copy the template
# See ENV_TEMPLATE.md for all variables
# Local development
GOOGLE_CLIENT_ID=262959577842-vubdf9h4gvuepqsvk6ehpk9clsmnep5n.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=<from downloaded JSON>
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=<generate with: openssl rand -base64 32>
POSTGRES_URL=postgres://localhost:5432/blackcode_issuesRun the migration script on your Vercel Postgres:
# Via Vercel Dashboard → Storage → Query
# Or via psql
psql $POSTGRES_URL < scripts/migrate.sqlnpm install
npm run devVisit http://localhost:3000
The frontend code should be in the blackcode-issues repo:
# Copy these files to Drew-source/blackcode-issues
git clone https://github.com/Drew-source/blackcode-issues
cp -r * /path/to/blackcode-issues/
cd /path/to/blackcode-issues
git add .
git commit -m "Add Blackcode Issues frontend"
git pushIn your Vercel Dashboard:
-
Go to Project Settings → Environment Variables
-
Add:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETNEXTAUTH_SECRETNEXTAUTH_URL=https://blackcode-issues.vercel.app
-
Vercel Postgres will auto-inject
POSTGRES_*variables
In Vercel Dashboard:
- Go to Storage → Postgres
- Click "Query"
- Paste contents of
scripts/migrate.sql - Run
Vercel will auto-deploy on push to main.
┌─────────────────────────────────────────────┐
│ FRONTEND │
├─────────────────────────────────────────────┤
│ Next.js 14 (App Router) │
│ ├── Google OAuth via NextAuth │
│ ├── TanStack Query for data fetching │
│ ├── Framer Motion for animations │
│ ├── @hello-pangea/dnd for drag & drop │
│ └── Tailwind CSS for styling │
├─────────────────────────────────────────────┤
│ API Routes │
│ ├── /api/auth/[...nextauth] - Auth │
│ ├── /api/projects - CRUD projects │
│ ├── /api/issues - CRUD issues │
│ └── /api/undo - Rollback operations │
├─────────────────────────────────────────────┤
│ Vercel Postgres │
│ └── Full schema in scripts/migrate.sql │
└─────────────────────────────────────────────┘
- ✅ Google OAuth - Secure team authentication
- ✅ Kanban Board - Drag-and-drop issue management
- ✅ Dark Mode - Beautiful dark theme by default
- ✅ Rollback - Undo operations with transaction logging
- ✅ Fast API - 2-15ms response times
- ✅ Integer IDs - No more UUID chaos
GET /api/projects List all projects
POST /api/projects Create project
GET /api/projects/:id Get project
PATCH /api/projects/:id Update project
GET /api/issues List issues (with filters)
POST /api/issues Create issue
GET /api/issues/:id Get issue
PATCH /api/issues/:id Update issue
DELETE /api/issues/:id Delete issue
GET /api/undo Get transaction history
POST /api/undo Undo last N operations
PROMPT ←────────→ TOOLS ←────────→ SOFTWARE
│ │ │
│ │ │
▼ ▼ ▼
Micro-verbose MCP Server This Frontend
specification (companion) + Vercel Postgres
Made with 💝 by Andrea David & AI