Skip to content

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:

  1. Sign up at pubflow.com
  2. Create a Flowless instance
  3. Get your Bridge Secret
  4. 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 features

Pubflow 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 ​

  1. Visit pubflow.com
  2. Sign up for an account
  3. Create a new Flowless instance
  4. Copy your Bridge Secret

Step 2: Build Your Flowfull Backend ​

  1. Choose your language (Node.js, Go, Python, Rust)
  2. Follow the Getting Started guide
  3. Configure Bridge Validation
  4. Build your APIs

Step 3: Connect Your Frontend ​

  1. Install Flowfull-Client library
  2. Configure with your Flowfull backend URL
  3. Use pre-built auth components
  4. Build your UI

Next Steps ​

Ready to start building?

Learn More ​

Released under the MIT License.