Chris DemetriouSoftware developer & consultant
← All projects5 of 5

chrisdemetriou / cdcscontracts.com (opens in a new window)

Demo Open the website (opens in a new window)
The CDCS Contracts demo capability card for C D Construction Services: carpenter's mate and trade support, Stockport and Greater Manchester, with a THIS IS A DEMO watermark. (opens in a new window)

Built with

  • cloudflare-pages
  • cloudflare-d1
  • cron-triggers
  • javascript
  • html
  • github-pages
  • stripe
  • resend
  • turnstile
  • whatsapp-alerts
  • ics-calendar
  • mobile-first

Architecture

For contractors

  • Contractor cardone page at cdcscontracts.com · Request dates or WhatsApp
  • Booking formpick dates, site postcode, the job · on book.cdcscontracts.com
  • Distance checkpostcode lookup; free within 15 miles
  • Invoice and payprivate invoice link · CIS deducted · Stripe Checkout (test mode)
HTTPS · Pages Functions

On Cloudflare

  • Pages Functionsbooking, availability, review, admin and invoice APIs
  • D1 (SQLite)bookings, blocked dates, weekly days off
  • Retry workerevery 15 minutes, resends failed notifications
  • Stripe (test mode)payment checked with Stripe before it's marked paid
single-use links · e-mail

For Chris

  • Review by e-mailapprove, propose other dates or decline
  • Notificationse-mail (Resend) and WhatsApp alerts
  • Calendar filethe contractor gets an .ics when dates are agreed

Next project neurosupport