Skip to content

Tutorial: Build a TaskBoard SaaS

In this tutorial you’ll build TaskBoard — a multi-tenant project management app — from scratch using CruzJS. By the end you’ll have a production-deployable SaaS running on Cloudflare Pages + D1.

  • User authentication (signup, email verification, password reset)
  • Organizations with role-based access control
  • Projects and tasks with real-time updates
  • File attachments on tasks
  • Background email notifications
  • Billing with Stripe (free / pro plans)
  • One-command deployment to Cloudflare
  • Node.js 20+
  • A Cloudflare account (free tier is fine for development)
  • Wrangler CLI: npm install -g wrangler && wrangler login
ChapterTopic
01 — Create ProjectScaffold and run the app
02 — Database SchemaDefine tables for projects and tasks
03 — First FeatureGenerate and wire the tasks feature
04 — AuthenticationHow auth works out of the box
05 — OrganizationsMulti-tenancy and org-scoped data
06 — PermissionsRole-based access control
07 — Real-TimeLive updates with BroadcastModule
08 — Background JobsEmail notifications via job queue
09 — File UploadsAttach files to tasks
10 — BillingStripe integration with plan limits
11 — DeploymentShip to production on Cloudflare

By the end of chapter 03 you’ll have a working CRUD app running locally. Each subsequent chapter adds a feature. You can stop at any chapter and have a functioning app.

Next: Chapter 01 — Create Project