Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Scope",
"image": "mcr.microsoft.com/devcontainers/javascript-node:22",
"postCreateCommand": "npm ci",
"forwardPorts": [3000]
}
28 changes: 28 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ============================================================
# Scope - Environment Variables
# ============================================================
# Copy this file to .env and fill in the values.

# --- AI ---
# Required: Anthropic API key for AI features
ANTHROPIC_API_KEY=your-api-key-here

# Optional: Enable Anthropic prompt caching (set to '1' to enable)
# ANTHROPIC_PROMPT_CACHING=1

# --- Database (Neon) ---
# Get these from https://console.neon.tech → your project → Connection Details
DATABASE_URL="postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/neondb?sslmode=require"
DIRECT_DATABASE_URL="postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/neondb?sslmode=require"

# --- Authentication (NextAuth) ---
# Generate with: openssl rand -base64 32
NEXTAUTH_SECRET=your-random-secret-here

# Set to your production URL on Vercel (not needed locally)
# NEXTAUTH_URL=https://your-app.vercel.app

# --- Google OAuth ---
# Create at https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm test -- --passWithNoTests
- run: npm run build
env:
ANTHROPIC_API_KEY: dummy-key-for-build
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ next-env.d.ts

.genkit/*
.env*
!.env.example

# firebase
firebase-debug.log
firestore-debug.log
firestore-debug.log
/src/generated/prisma
140 changes: 0 additions & 140 deletions APP_DESCRIPTION.md

This file was deleted.

Loading
Loading