Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI SaaS Starter

A Micro-SaaS starter template with a built-in AI chat assistant widget. Pick your frontend — Angular, Flutter, or Ionic — all powered by the same Node.js + Express backend.

Why this exists

Every SaaS idea needs the same boring foundation: auth-ready structure, a working AI chat widget, and a backend that talks to an LLM. This repo gives you that in under 5 minutes, so you can focus on your actual product idea instead of rebuilding the same plumbing every time.

Structure

ai-saas-starter/
├── backend/              # Node.js + Express API (shared by all frontends)
│   └── src/server.js     # /api/chat endpoint powered by Claude
├── frontend-angular/     # Angular starter with AI chat widget
├── frontend-flutter/     # (coming soon)
└── frontend-ionic/       # (coming soon)

Quick Start

1. Backend

cd backend
npm install
cp .env.example .env
# add your ANTHROPIC_API_KEY to .env
npm run dev

Backend runs at http://localhost:5000.

2. Frontend (Angular)

cd frontend-angular
npm install
ng serve

Open http://localhost:4200 — you'll see a floating "Chat with AI" button wired to your backend.

Features

  • 🤖 Working AI chat widget (Claude-powered, swap providers easily)
  • ⚡ Clean Express API you can extend with your own endpoints
  • 🎨 Minimal, unopinionated styling — built to be customized
  • 📦 Same backend reused across all frontend flavors

Roadmap

  • Angular starter
  • Flutter starter
  • Ionic starter
  • Auth boilerplate (JWT)
  • Stripe payment starter

Contributing

PRs welcome — especially for the Flutter and Ionic starters.

License

MIT