About this demo
This is a live demo application built with the BuildBase SDK and backend platform. Everything you see here — auth, workspaces, credits, notifications, and i18n — is working code you can sign in to and interact with.
This demo app is a Next.js 16 project that uses the BuildBase SDK to wire up auth, billing, notifications, and more — without writing the infrastructure.
There is no custom auth logic, no payment processing code, and no notification delivery infrastructure in this repo. All of that is handled by the BuildBase backend platform. What you see here is the frontend — a real Next.js app with real SDK calls that you can sign into and interact with.
Sign in using the button in the header, then explore the dashboard to see each capability working live. The source code for every feature is in the corresponding page or API route in the repository.
Under the hood
The Sign In button calls useSaaSAuth().signIn() — that's it. No session management, no CSRF logic, no token storage. The SDK handles everything and injects the user into every page.
After signing in, the sidebar shows your current workspace and lets you switch between them. Each workspace has its own role enforced server-side by the BuildBase backend.
The Credits page uses CreditBalance, useConsumeCredits(), and WhenCreditsExhausted from the SDK. The Buy Credits button opens a modal served by BuildBase — no payment code in this app.
The Notifications page calls usePushNotifications() to subscribe your browser, then sends test notifications via the BuildBase API with urgency, scheduling, and action buttons.