Skip to content

Introduction

ZShip is a production-ready, full-stack AI SaaS template that runs entirely on Cloudflare’s global edge network.

Out of the box, you get 2 frontend apps and 10+ backend microservices — everything you need to launch an AI SaaS product:

Frontend Apps

AppTech StackDescription
apps/webAstro 5 + Vue + Tailwind CSSUser-facing website — landing pages, pricing, auth, user dashboard
apps/adminNuxt 3 + Element PlusAdmin console — manage users, payments, AI models, content, and operations

Backend Microservices (Cloudflare Workers + Hono + D1)

ServiceDescription
node1-auth-serviceAuthentication, sessions, OAuth, email verification
node2-support-serviceTickets, feedback, email records
node3-pay-servicePayments (Stripe/Creem), pricing, credits, webhook audit
node4-notify-servicePush notifications (Bark / Feishu / DingTalk)
node5-blog-serviceBlog content management
node6-cdn-serviceObject storage and file distribution (R2)
node7-site-serviceSite config, banners, waitlist
node8-prompt-servicePrompt library and copy tracking
node9-checkin-serviceCheck-in rules and streak rewards
node10-ai-serviceAI Gateway, multi-model routing, conversation and billing
zship-core-serviceCore API gateway

Building an AI SaaS from scratch means stitching together auth, payments, AI integration, notifications, admin panel, and deployment — that takes months.

ZShip exists to compress that timeline to days:

  • Complete out of the box — Auth (JWT + Google OAuth), payments (Stripe), AI gateway (multi-model LLM), check-in rewards, notifications, and admin panel are all built-in. No need to start from zero.
  • Multi-tenant by design — Every service isolates data via app_key, so you can run multiple products on one deployment.
  • Edge-native architecture — Every service is a Cloudflare Worker, every database is D1/KV/R2. Global deployment with zero infrastructure management.
  • Independently evolvable — Frontend and backend are decoupled into separate packages. Swap Astro for Next.js, or scale a single service — without touching the rest.
  • Ops-ready from day one — Built-in admin console with user management, payment config, model toggles, content publishing, and audit logs.

Terminal window
git clone https://github.com/your-org/zship.git
cd zship
pnpm install
Terminal window
pnpm db:migrate:local
pnpm db:migrate:support:local

Use the built-in DevConsole to launch all services with one click:

Terminal window
pnpm dev:console

Or start individual services manually:

Terminal window
# Frontend — User site (http://localhost:4321)
pnpm dev:web
# Frontend — Admin console (http://localhost:3100)
pnpm dev:admin
# Backend — Auth service
pnpm dev:auth
# Backend — Core API gateway
pnpm dev:core
Terminal window
# Deploy a backend service
pnpm deploy:auth
pnpm deploy:core
# Build frontend for Cloudflare Pages
pnpm build:web
pnpm build:admin

You now have a fully functional AI SaaS running on Cloudflare’s edge. 🚀