Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.85 KB

File metadata and controls

52 lines (36 loc) · 1.85 KB
Avaab Razzaq - Freelance Developer, AI Automation, SEO/GEO - avaabrazzaq.com

ar10dev.github.io

CI

avaabrazzaq.com — Personal site of Avaab Razzaq, a Freelance Developer, AI Automation Consultant, and SEO/GEO Specialist based in Hialeah and Miami, FL. Built with Astro, SolidJS, and Tailwind CSS. Offering websites, apps, AI automation, n8n workflows, MCP integrations, SEO/GEO, and digital marketing services.

This site deploys to Cloudflare Workers with Wrangler.

Requirements

  • Bun
  • D2 CLI (for diagram rendering)
  • Wrangler CLI

Setup

# Install D2 CLI (required for diagram rendering)
bun run setup:d2

# Install dependencies
bun install

# Preview Cloudflare deployment locally
bun run preview:cloudflare

# Deploy to Cloudflare Workers
bun run deploy:cloudflare

Contact form delivery

The contact API accepts form submissions at /api/contact/ and forwards valid leads to CONTACT_FORM_WEBHOOK_URL when that Cloudflare environment variable is configured. Without the webhook, the form returns a clear error and asks the visitor to email directly.

The form includes a honeypot field, a minimum submit-time check, and basic payload length limits to reduce spam.

Scripts

bun run dev       # Start development server
bun run build     # Build for production
bun run preview   # Preview production build
bun run preview:cloudflare # Build and preview with Wrangler
bun run deploy:cloudflare  # Build and deploy to Cloudflare Workers
bun run lint      # Lint codebase
bun run format    # Format codebase
bun run setup:d2  # Install D2 diagram CLI