A project that replicates Google Forms functionality, allowing users to create surveys, share links, collect responses, and view results in a table. It utilizes Next.js, Tailwind CSS, and various libraries for form handling and validation, with Cloud Firestore as the primary database and Prisma for local development.
From the README
Survey Forms A Google Forms clone: build a survey, share a public link, collect validated responses and view them in a table. Stack • Next.js 16 (App Router, Cache Components), Tailwind CSS v4 • react-hook-form + Zod, with @better-fetch/fetch as the typed client • Hono API inside a Next.js route handler, validated with Zod • Cloud Firestore is the primary database (forms, submissions, uploaded files) • Prisma 7 + PostgreSQL is a local-only copy for development: it is written to and used as a read fallback only when NODEENV is not production and DATABASEURL is set. Production needs only the Firebase variables. The Zod schemas in lib/schemas/ are imported by both the browser and the API,...
Skills
- TypeScript
- CSS
- JavaScript