Skip to content

chore: scaffold Next.js app with Prisma, shadcn/ui, and CI - #4

Merged
khchui05 merged 1 commit into
mainfrom
chore/project-setup
Nov 6, 2026
Merged

khchui05 merged 1 commit into
mainfrom
chore/project-setup

Conversation

@yashmitb

@yashmitb yashmitb commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request Template

Referenced Issue: None

Reviewers: Add Here

Description of changes

Sets up the repo structure for our tech stack and adds automated checks.

  • App: Next.js 16 (App Router, TypeScript, src/ dir), TailwindCSS 4, ESLint. The starter page is replaced with a simple InterviewOS landing placeholder.
  • UI: shadcn/ui initialized (components.json, src/components/ui/button.tsx, src/lib/utils.ts).
  • Database: Prisma 7 with PostgreSQL. prisma/schema.prisma has no models yet, since schema planning is a Fall task. The generated client goes to src/generated/prisma (gitignored) and is rebuilt on npm install via postinstall.
  • Env: .env.example with the variables listed in CONTRIBUTING.
  • CI (.github/workflows/ci.yml): npm ci, lint, typecheck, and build on every PR and every push to main.
  • Secret scan (.github/workflows/secret-scan.yml): TruffleHog on every PR and every push to main. Reports verified and unknown secrets.
  • Scripts: typecheck (next typegen && tsc --noEmit) and postinstall (prisma generate).
  • CONTRIBUTING: adds the typecheck step and a CI note, and updates the setup note.

Not included yet: auth (Auth.js vs Better Auth is still open), LiveKit, Monaco, and Excalidraw.

Testing

  • npm run lint, npm run typecheck, and npm run build pass locally with no .env
  • prisma generate works without DATABASE_URL
  • CI checks passed

Screenshots / Screen Recording

The placeholder page shows the title, a one-line pitch, and a "Get started" button.

🤖 Generated with Claude Code

- Next.js 16 (App Router, TypeScript, src/ dir) with TailwindCSS 4 and ESLint
- shadcn/ui initialized with a Button component
- Prisma 7 with an empty PostgreSQL schema and prisma.config.ts
- .env.example listing the variables CONTRIBUTING documents
- GitHub Actions: lint, typecheck, and build on every PR; TruffleHog secret scan
- typecheck and postinstall (prisma generate) scripts; CONTRIBUTING updated to match

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@khchui05
khchui05 merged commit 27179ba into main Nov 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants