Skip to content

Templates

Templates provide complete, working application code that you can customize. Unlike architectures (config-only), templates include full source code for both frontend and backend.

Every template includes:

  • Frontend code (Vue 3 with Tailwind CSS)
  • Backend code (Express API on Cloud Functions)
  • Database schemas and migrations (Drizzle ORM)
  • Authentication setup (Firebase Auth)
  • Ready-to-deploy configuration (stacksolo.config.json)
Terminal window
# List available templates
stacksolo init --list-templates
# Create project from template
stacksolo init --template <template-name>
# Example: Create a SaaS app
stacksolo init --template saas-starter

When prompted, you’ll configure:

  • Project name
  • GCP Project ID
  • Region
TemplateDescriptionDifficulty
saas-starterComplete SaaS foundation with Firebase Auth, Stripe billing, and Vue 3Intermediate
ai-chatAI chat application with Vertex AI (Gemini), streaming responsesIntermediate
api-gatewayAPI monetization with key management, rate limiting (Redis), usage trackingAdvanced
ecommerceE-commerce store with Stripe products, cart, checkout, ordersIntermediate
firebase-appFull-stack app with Firebase Auth and FirestoreBeginner
firebase-postgresFirebase Auth + PostgreSQL with Drizzle ORMIntermediate
api-starterSimple Express API ready to extendBeginner
static-siteReact static site with CDN deploymentBeginner
ConceptWhat it providesWhen to use
TemplateFull source code + configStarting a new project from scratch
ArchitectureConfig only (no code)Adding infrastructure to existing code
StackTemplate + Architecture + DocumentationComplete applications you can customize
Terminal window
# Install dependencies
npm install
# Start local development
stacksolo dev
# Deploy to GCP
stacksolo deploy

Templates are yours to modify. Common customizations:

  1. Add new pages - Create Vue components in apps/web/src/pages/
  2. Add API routes - Create routes in functions/api/src/routes/
  3. Add database tables - Update functions/api/src/db/schema.ts
  4. Change styling - Modify Tailwind config or component styles

All templates use a consistent tech stack:

LayerTechnology
FrontendVue 3 + Vite + Tailwind CSS + Pinia
BackendExpress on Cloud Functions
DatabasePostgreSQL with Drizzle ORM (or Firestore)
AuthFirebase Authentication
PaymentsStripe (when applicable)
InfrastructureStackSolo (CDKTF/Terraform)