Skip to content

Introduction to Flowfull ​

Welcome to Flowfull - the fastest way to build production-ready backends with the Pubflow architecture!

What is Flowfull? ​

Flowfull is your custom backend layer that connects to Pubflow for authentication. It's designed to help you build scalable, secure backends in record time by providing:

  • βœ… Pre-built authentication - No need to build login, registration, sessions
  • βœ… Trust-based validation - Secure session validation with Bridge Validation
  • βœ… Advanced caching - 3-tier HybridCache for lightning-fast performance
  • βœ… Multi-database support - PostgreSQL, MySQL, LibSQL/Turso
  • βœ… Language agnostic - Portable concepts for Node.js, Go, Python, Rust
  • βœ… Production ready - Battle-tested patterns and security

The Pubflow Ecosystem ​

Flowfull is part of a complete architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  PUBFLOW ARCHITECTURE                    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚   FLOWLESS   β”‚ ───▢ β”‚   FLOWFULL   β”‚ ───▢ β”‚ CLIENT β”‚β”‚
β”‚  β”‚              β”‚      β”‚              β”‚      β”‚        β”‚β”‚
β”‚  β”‚ β€’ Auth       β”‚      β”‚ β€’ Your APIs  β”‚      β”‚ β€’ Reactβ”‚β”‚
β”‚  β”‚ β€’ Sessions   β”‚      β”‚ β€’ Business   β”‚      β”‚ β€’ Next β”‚β”‚
β”‚  β”‚ β€’ Users      β”‚      β”‚ β€’ Database   β”‚      β”‚ β€’ RN   β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚   pubflow.com          This is YOU!          Your App   β”‚
β”‚                                                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The Three Layers ​

  1. πŸ” Flowless - Core authentication backend

    • Deployed on Pubflow
    • Handles all authentication (login, registration, sessions)
    • Managed service - no setup required
    • Validates sessions for your Flowfull backend
  2. ⚑ Flowfull - Your custom backend (this documentation)

    • Connects to Flowless via Bridge Validation
    • Implements your business logic and APIs
    • Manages your database and cache
    • Stateless and horizontally scalable
  3. 🎨 Flowfull-Client - Your frontend

    • React, Next.js, React Native, or any framework
    • Connects to your Flowfull backend
    • Uses Pubflow authentication seamlessly

Why Flowfull? ​

πŸš€ Build in Record Time ​

Instead of spending weeks building authentication, validation, and security:

typescript
// Traditional approach (weeks of work)
- Build user registration ❌
- Build login system ❌
- Build session management ❌
- Build password reset ❌
- Build email verification ❌
- Build security layers ❌
- Build caching system ❌

// Flowfull approach (30 minutes)
import { requireAuth } from './lib/auth/middleware';

app.get('/api/profile', requireAuth(), async (c) => {
  const userId = c.get('user_id');  // βœ… Done!
  return c.json({ profile: await getProfile(userId) });
});

⚑ Lightning Fast Performance ​

3-tier HybridCache system:

  • 97% cache hit rate in production
  • 50x faster responses (1-2ms vs 50ms)
  • Automatic fallback (LRU β†’ Redis β†’ Database)
  • Horizontal scaling with shared Redis cache

πŸ” Enterprise Security ​

6-layer security validation:

  1. PASETO signature verification (Ed25519)
  2. Expiration check
  3. Redis status check
  4. Database status check
  5. User ownership validation
  6. Resource validation

🌍 Language Agnostic ​

Portable concepts that work in any language:

  • Flowfull-Node.js - TypeScript/JavaScript (Bun, Node.js)
  • Flowfull-Go - Go implementation
  • Flowfull-Python - Python/FastAPI implementation
  • Flowfull-Rust - Rust implementation

Core Concepts ​

Flowfull is built on 7 portable concepts:

  1. Bridge Validation - Distributed authentication
  2. Validation Modes - Layered security
  3. HybridCache - 3-tier caching
  4. Trust Tokens - PASETO tokens
  5. Auth Middleware - Route protection
  6. Multi-Database - Database abstraction
  7. Environment Config - Configuration management

Real-World Usage ​

Flowfull concepts are used in many production systems worldwide:

  • Gaming platforms - High-traffic applications with millions of requests per day
  • SaaS applications - Multi-tenant systems with complex authentication
  • E-commerce platforms - Payment processing and order management
  • Enterprise systems - Internal tools and business applications

Next Steps ​

Ready to build your first Flowfull backend?

Questions? ​

Need Professional Help? ​

If you need assistance, professional support, or want us to build your backend for you:

  • 🌐 Notside.com - Technology firm specializing in Pubflow implementations
  • πŸ“§ Email: contact@notside.com
  • πŸ’Ό Services: Custom backend development, consulting, and enterprise support

Released under the MIT License.