projectcribcove

CribCove

Luxury real estate showcase and concierge-led lead generation platform for high-end homes worldwide.

Features

Getting started

  1. Install dependencies
    npm install
    
  2. Start Postgres locally
    docker-compose up -d
    
  3. Configure environment variables
    cp .env.example .env
    
  4. Run migrations + seed data
    npm run prisma:migrate
    npm run seed
    
  5. Start the dev server
    npm run dev
    

Admin access

The seed script creates an admin user:

Image uploads

Admin/editor users can upload imagery from /admin/media. The flow uses signed Cloudinary requests, and the uploaded URL is displayed for use in listings.

Deployment (Vercel + custom domain)

  1. Create a new Vercel project and connect the repository.
  2. Set environment variables from .env.example in Vercel.
  3. Provision a managed Postgres database (Vercel Postgres, Supabase, or similar) and update DATABASE_URL.
  4. Add cribcove.ie as a custom domain in Vercel and update DNS records (A/ALIAS + CNAME).
  5. Deploy. Vercel will run npm run build automatically.

Scripts

Notes