How xkarol/pollify works
Project type and purpose
• Pollify is a full‑stack, monorepo web application for creating, sharing, and analyzing polls in real time.
• Frontend: Next.js + React + Tailwind (hosted on Vercel)
• Backend/API: Hono (Node framework) with serverless handlers (deployed on Vercel)
• Shared code & utilities living in packages/ (config, types, UI library, validation, DB schema)
File structure
• Top‑level:
– apps/ contains two runnable apps:
• apps/web – the Next.js frontend
• apps/api – the Hono‑based HTTP API
– packages/ contains reusable modules: config, database setup, shared UI components, types, validation, ESLint/Prettier configs, etc.
– Root manifests: turbo.json (Turborepo orchestration), docker‑compose.yml (local Postgres & Redis), GitHub Actions workflows
README for insights
• The README calls out: social login (OAuth), reCAPTCHA & IP protection, real‑time analytics (Tinybird + Vercel Analytics), Stripe payments, live poll updates, CSV/JSON exports.
• Tech stack badges confirm Next.js, Hono, Turborepo, Drizzle (ORM), Zod (validation), React Query, Tailwind, Stripe, Vercel, etc.