What is Pubflow? β
Pubflow is a complete architecture for building modern applications in record time. It provides a trust-based authentication system that powers your entire application stack.
The Pubflow Architecture β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PUBFLOW ARCHITECTURE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββ ββββββββββββββββ βββββββββββ
β β FLOWLESS β ββββΆ β FLOWFULL β ββββΆ β CLIENT ββ
β β β β β β ββ
β β β’ Auth β β β’ Your APIs β β β’ Reactββ
β β β’ Sessions β β β’ Business β β β’ Next ββ
β β β’ Users β β β’ Database β β β’ RN ββ
β ββββββββββββββββ ββββββββββββββββ βββββββββββ
β pubflow.com Your Backend Your App β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββThe Three Layers β
1. π Flowless - Core Authentication β
Flowless is the core authentication backend deployed on Pubflow.
What it handles:
- β User registration and login
- β Session management
- β Password reset and email verification
- β User profiles and authentication
- β Trust token generation
- β Bridge validation for your backends
Key features:
- Managed service on Pubflow.com
- No setup or maintenance required
- Enterprise-grade security
- Automatic scaling
- 99.9% uptime SLA
How to use:
- Sign up at pubflow.com
- Create a Flowless instance
- Get your Bridge Secret
- Connect your Flowfull backend
2. β‘ Flowfull - Your Custom Backend β
Flowfull is YOUR backend - where your business logic lives.
What you build:
- β Custom APIs for your application
- β Business logic and workflows
- β Database models and queries
- β Cache management
- β Third-party integrations
Key features:
- Connects to Flowless for authentication
- Stateless and horizontally scalable
- Multi-database support
- 3-tier HybridCache system
- Language agnostic (Node.js, Go, Python, Rust)
How it works:
typescript
// Your Flowfull backend
app.get('/api/items', requireAuth(), async (c) => {
const userId = c.get('user_id'); // From Flowless
// Your business logic
const items = await db.getItems(userId);
return c.json({ items });
});3. π¨ Flowfull-Client - Your Frontend β
Flowfull-Client is your frontend application.
Supported frameworks:
- β React
- β Next.js
- β React Native
- β Vue.js
- β Any framework you choose
Key features:
- Pre-built authentication components
- Session management
- API client with automatic auth headers
- TypeScript support
How it works:
typescript
// Your frontend
import { usePubflow } from '@pubflow/react';
function Profile() {
const { user, isAuthenticated } = usePubflow();
if (!isAuthenticated) {
return <Login />;
}
return <div>Welcome, {user.name}!</div>;
}Why Pubflow? β
π Build in Record Time β
Traditional approach:
Week 1-2: Build authentication system
Week 3-4: Build session management
Week 5-6: Build security layers
Week 7-8: Build caching system
Week 9-10: Build your actual featuresPubflow approach:
Day 1: Sign up at pubflow.com
Day 1: Connect Flowfull backend
Day 1: Start building featuresβ‘ Infinitely Scalable β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PUBFLOW LOAD BALANCER β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ
β β Flowfull β β Flowfull β β Flowfull β β Flowfullββ
β βInstance 1β βInstance 2β βInstance 3β βInstance Nββ
β ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ
β β β β β β
β βββββββββββββββ΄ββββββββββββββ΄ββββββββββββββ β
β β β
β ββββββΌβββββ β
β β Redis β (Shared Cache) β
β βββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ- Stateless design - No session affinity required
- Horizontal scaling - Add instances as needed
- Shared cache - Redis for cross-instance caching
- Load balancing - Automatic traffic distribution
- No limits - Scale to millions of users
π Enterprise Security β
- 6-layer validation - Comprehensive security checks
- PASETO tokens - Modern cryptographic tokens (Ed25519)
- Bridge validation - Secure session validation
- Configurable modes - STANDARD, ADVANCED, STRICT
- Zero trust - Validate every request
π Language Agnostic β
Build Flowfull in any language:
- Node.js/TypeScript - Bun, Node.js, Deno
- Go - High performance, compiled
- Python - FastAPI, Django, Flask
- Rust - Maximum performance and safety
All implementations share the same core concepts!
Getting Started with Pubflow β
Step 1: Create Flowless Instance β
- Visit pubflow.com
- Sign up for an account
- Create a new Flowless instance
- Copy your Bridge Secret
Step 2: Build Your Flowfull Backend β
- Choose your language (Node.js, Go, Python, Rust)
- Follow the Getting Started guide
- Configure Bridge Validation
- Build your APIs
Step 3: Connect Your Frontend β
- Install Flowfull-Client library
- Configure with your Flowfull backend URL
- Use pre-built auth components
- Build your UI
Next Steps β
Ready to start building?
Learn More β
- π Core Concepts - Deep dive into architecture
- π Quick Start - Build your first backend
- π Pubflow Website - Official website
- π§ Email: support@pubflow.com