Tutorial: Build a TaskBoard SaaS
Build a TaskBoard SaaS with CruzJS
Section titled “Build a TaskBoard SaaS with CruzJS”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.
What you’ll build
Section titled “What you’ll build”- 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
Prerequisites
Section titled “Prerequisites”- Node.js 20+
- A Cloudflare account (free tier is fine for development)
- Wrangler CLI:
npm install -g wrangler && wrangler login
Chapters
Section titled “Chapters”| Chapter | Topic |
|---|---|
| 01 — Create Project | Scaffold and run the app |
| 02 — Database Schema | Define tables for projects and tasks |
| 03 — First Feature | Generate and wire the tasks feature |
| 04 — Authentication | How auth works out of the box |
| 05 — Organizations | Multi-tenancy and org-scoped data |
| 06 — Permissions | Role-based access control |
| 07 — Real-Time | Live updates with BroadcastModule |
| 08 — Background Jobs | Email notifications via job queue |
| 09 — File Uploads | Attach files to tasks |
| 10 — Billing | Stripe integration with plan limits |
| 11 — Deployment | Ship to production on Cloudflare |
What we’ll build
Section titled “What we’ll build”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.