Why CloudFetch?
Focus on Your Code, Not Operations
Zero Boilerplate
Skip building login forms, password resets, and user tables. Integrating our Auth is as simple as checking a session.
Instant Monetization
Define pricing plans in the console. We handle Stripe Connect, subscriptions, invoices, and payouts automatically.
Global Distribution
Listed immediately on the Marketplace. Tap into thousands of existing users who can subscribe with one click.
Drop-in Infrastructure
See how easy it is to power your app with CloudFetch primitives.
1. Authentication
Secure user sessions in one line.
import { getUser } from '@cloudfetch/auth';
export async function Page() {
const user = await getUser();
if (!user) {
return <LoginButton />;
}
return <h1>Hello, {user.name}</h1>;
}2. LiveDB Data
Query your spreadsheet data via SQL.
import { db } from '@cloudfetch/livedb';
// Query directly in server component
const users = await db.query(
"SELECT * FROM users WHERE active = true"
);
// Results are fully typed
return <UserList data={users} />;3. Billing Engine
Check subscription status instantly.
import { checkSubscription } from '@cloudfetch/billing';
export async function PremiumFeature() {
const isPro = await checkSubscription('pro_plan');
if (!isPro) {
return <UpgradePrompt />;
}
return <AdvancedChart />;
}