projecthomehub

HomeHub MVP

HomeHub is a production-ready MVP that connects homeowners with trusted home service professionals across Ireland. The platform supports directory search, quote requests, reviews, provider verification, and role-based dashboards.

Tech stack

Local development

  1. Install dependencies:
npm install
  1. Start Postgres with Docker:
docker compose up -d
  1. Copy environment variables:
cp .env.example .env
  1. Run Prisma migrations and seed data:
npx prisma migrate dev
npm run seed
  1. Start the dev server:
npm run dev

Visit http://localhost:3000.

Seeded accounts

Product overview

Roles

Core flows

SEO & analytics

Image uploads

Quote request photos upload to Cloudinary via /api/upload. The handler validates file type and size (max 5MB).

Deployment (Vercel)

  1. Create a new Vercel project and link this repository.
  2. Set environment variables from .env.example in Vercel.
  3. Add a Postgres database (Supabase, Neon, or RDS) and update DATABASE_URL.
  4. Deploy.

Custom domain

  1. In Vercel, go to Project Settings → Domains.
  2. Add homehub.ie and follow DNS instructions.
  3. Ensure your DNS A/ALIAS records match Vercel’s recommendations.

Tests and CI

Observability

Structured logs are emitted from the logger utility. Errors are captured by app/error.tsx.