- Next.js (App Router, TypeScript)
- Tailwind CSS + shadcn/ui
- PostgreSQL + Prisma
- Auth.js (email magic-link)
- TanStack Table for the admin response view
Prerequisites: Node.js 20+, pnpm, PostgreSQL 17+ running on localhost:5432.
# 1. Install deps
pnpm install
# 2. Set up environment
cp .env.example .env
# Edit .env — fill DATABASE_URL with your Postgres password.
# Generate AUTH_SECRET: pnpm dlx auth secret
# 3. Create the database
psql -U postgres -c "CREATE DATABASE newforms_dev;"
# 4. Run migrations
pnpm prisma migrate dev --name init
# 5. Start the dev server
pnpm devOpen http://localhost:3000.
Done, private repo.
MIT