Skip to content

WIP: Client app — shadcn UI + Neon Postgres#25

Draft
faizm10 wants to merge 4 commits into
mainfrom
development
Draft

WIP: Client app — shadcn UI + Neon Postgres#25
faizm10 wants to merge 4 commits into
mainfrom
development

Conversation

@faizm10

@faizm10 faizm10 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🚧 Work in progress — opened as a draft for early visibility. Not ready to merge yet.

Summary

Sets up the new Next.js client/ app's UI foundation and database connection.

  • shadcn UI: ported theme, components.json, lib/utils, and fonts from frontend/; pulled in the shadcn component library
  • Neon Postgres: added @neondatabase/serverless client with lazy init in client/lib/db.ts (reads DATABASE_URL, safe at build time)
  • Verification: /api/db-check route to confirm the connection
  • Fixes: pinned @hugeicons/* to match frontend, resolved spinner.tsx prop-spread type error

Notes / TODO

  • DATABASE_URL lives in client/.env.local (gitignored) — must be added to Vercel/CI env before deploy
  • npm run build passes locally
  • Migrating off Supabase → Neon is in progress; data layer/queries still to come

🤖 Generated with Claude Code

faizm10 and others added 3 commits June 28, 2026 23:12
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Port shadcn theme, components.json, lib/utils, and fonts from frontend
- Add Neon serverless DB client with lazy init (lib/db.ts) reading DATABASE_URL
- Add /api/db-check route to verify the connection
- Pin @hugeicons/* to frontend versions and fix spinner prop-spread type error

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
judging-platform Ready Ready Preview, Comment Jun 29, 2026 7:12pm

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.

1 participant