Skip to content

The Modern Stack for AI Applications — Better Auth, Autumn, Next.js, Convex (B.A.N.C)

License

Notifications You must be signed in to change notification settings

sholajegede/bancstack

Repository files navigation

🏗️ BANC Stack

The Modern Stack for AI Applications — powered by Better Auth, Autumn Billing, Next.js, and Convex.
Skip months of boilerplate and start building your AI SaaS today.


✨ What is BANC?

BANC is a production-ready starter kit that wires together the most forward-looking developer tools:

  • 🔐 Better Auth – modern, flexible authentication and authorization
  • 💳 Autumn Billing – fast billing + subscriptions with Stripe
  • Next.js 15 – React 19, Turbopack, edge-ready fullstack framework
  • 📡 Convex – real-time database, serverless functions, and backend-as-a-service

With BANC, you get authentication, billing, real-time data, and modern React all pre-configured, so you can focus entirely on your AI features, user experience, and scaling.


🚀 Quick Start

Clone the repo:

git clone https://github.com/sholajegede/bancstack.git my-app
cd my-app

Install dependencies:

npm install

Setup environment variables:

npm run env:setup

Start dev servers:

# Backend (Convex)
npm run dev:backend

# Frontend (Next.js)
npm run dev:frontend

Visit http://localhost:3000 and you’re live 🎉


🔋 What’s Included

✅ Authentication with Better Auth + Convex integration
✅ Billing with Autumn + Stripe
✅ Convex backend (real-time DB, migrations, serverless functions)
✅ Next.js 15 (React 19, Turbopack, App Router)
✅ Tailwind CSS + ShadCN/UI components pre-configured
✅ ESLint + Prettier + TypeScript out of the box


🛠️ Commands

Script Description
npm run dev Start Next.js (frontend)
npm run dev:backend Start Convex backend
npm run build Build Next.js for production
npm run start Run production build
npm run lint Lint code with ESLint
npm run format Format code with Prettier

📦 Tech Stack

  • Next.js 15 + React 19
  • Convex 1.25+
  • Better Auth 1.3.27
  • Autumn-js 0.1.40 + @useautumn/convex 0.0.12
  • TailwindCSS 4 + ShadCN/UI
  • Zod, Zustand, Recharts

🌍 Why BANC?

Every modern SaaS app needs:

  • Authentication
  • Billing
  • Real-time data
  • Production-ready frontend

Instead of wiring these from scratch, BANC gives you a batteries-included foundation so you can start shipping your AI application today.


📖 License

MIT © Shola Jegede