veltrix-saas-app

Veltrix — AI Automation SaaS

Veltrix Dashboard

Veltrix is a production-grade SaaS dashboard for AI agents and workflow automations. Built for modern teams that want to deploy, monitor, and scale intelligent automations from a single workspace.

✨ Features

🛠️ Tech Stack

🚀 Getting Started

Prerequisites

Install

bun install

Environment

Create a .env file at the project root based on .env.example:

SUPABASE_PUBLISHABLE_KEY="your-publishable-key-here"
SUPABASE_URL="https://your-project-id.supabase.co"
SUPABASE_SERVICE_ROLE_KEY="your-service-role-key-here"
VITE_SUPABASE_PROJECT_ID="your-project-id"
VITE_SUPABASE_PUBLISHABLE_KEY="your-publishable-key-here"
VITE_SUPABASE_URL="https://your-project-id.supabase.co"

Database

Apply the SQL migrations in supabase/migrations/ to your Supabase project (via the Supabase CLI or dashboard SQL editor).

Run dev server

bun run dev
# or: npm run dev

Open http://localhost:8080.

Build

bun run build
# or: npm run build

📁 Project Structure

src/
├── components/      # Marketing, site chrome, shadcn UI primitives
├── hooks/           # useAuth, use-mobile, etc.
├── integrations/
│   └── supabase/    # Client, server, auth middleware, generated types
├── routes/          # File-based routes (TanStack Router)
│   ├── _marketing/  # Public pages
│   └── _dashboard/  # Authenticated app pages
├── lib/             # Utilities
└── styles.css       # Tailwind v4 + design tokens
supabase/
├── migrations/      # SQL migrations
└── config.toml

🔐 Authentication

Auth is powered by Supabase. Routes under _dashboard require an authenticated session and a verified email. Roles are stored in a separate user_roles table (never on the profile) and validated via a has_role() security-definer function to prevent privilege escalation.

Click to view full site screenshots ### Home ### Services ### Pricing ### Case Studies ### Contact ### Login ### Sign Up

📜 License

MIT — do whatever you want with it.