Authenticator

Handles user authentication and security. Manages login, registration, and verification processes to ensure secure user access.

Permissions

Defines access levels and manages role-based authorization across the system.

Support

Provides visibility into user activity, email communications, and system-wide events to assist with diagnostics and issue resolution.

Commerce

Manages the full purchase lifecycle — from cart and checkout to billing, renewals, and subscription management.

Drive

Handles secure file storage, sharing, and organization for user content.

PromptGen

Handles AI-driven interactions and prompt generation, enabling conversational workflows and result interpretation.

How they work?

The modules are built on top of the modular Live Elements Web tech-stack. Inside the bundle.lv configuration file, a few lines of code is all it takes to get them up and running. Once they are up, you can start tweaking them up to the smallest level of detail.

For example, the Authenticator module, which handles users and authentication, can be setup in bundle.lv:

instance bundle Bundle{
  LocalDatabaseSetup{} // quick db for authenticator
  Authenticator{}
}

This will create a login form at /login, a registration form at /register, together with other pages with API routes. By starting the server with this single line added to bundle, you will be able to already use all of these pages.

To protect a page or route, so only logged in users can visit it, simply add authenticator#in to the routes context property:

instance bundle Bundle{
  LocalDatabaseSetup{}
  Authenticator{}
  GetCX{ 
    url: '/' 
    context: ['authenticator#in'] // this route is now protected
    f: (req, res) => { res.send('You are logged in.') }  
  }
}

The authenticator can further be configured to support email validation, 2FA, invitation based registration, unique code based registration, password recovery, and others.

Modules In Detail

Authenticator

Module for user registration, logging in and out users, with email support.

Features

  • Login
  • Logout
  • Registration
  • Invitation based registration
  • Email verification
  • Password Strength Confirmation
  • 2FA

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  Authenticator{}
}

Permissions

Module to manage user permissions and roles and restrict routes and actions based on set permissions.

Features

  • Role Management
  • Permission Management
  • Role Assignment
  • User Role Management
  • Access Control

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  Authenticator{ id: authenticator }
  PermissionsAdmin{
    userModel: authenticator.model
    context: ['authenticator#in']
  }
}

Support

Module to provide visibility into user activities, email communications, and system-wide events.

Features

  • User Activity Reports
  • Email Activity Monitoring
  • System Event Logging
  • Diagnostics
  • Performance & Diagnostics Metrics
  • Search & Filtering

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  Authenticator{ id: authenticator }
  Support{
    userModel: authenticator.model
  }
}

Commerce

Module to handle product sales, subscriptions, and inventory management. It manages the full purchase lifecycle, from cart and checkout to billing, renewals, and stock tracking.

Features

  • Product Catalog Management
  • Shopping Cart
  • Checkout & Payments
  • Subscriptions & Renewals
  • Order Management
  • Inventory Tracking
  • Discounts & Promotions
  • Invoices & Billing History

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  Commerce{}
}

Drive

Module to handle file storage, sharing, and collaboration.

Features

  • File Upload & Storage
  • Folder Organization
  • Preview & Download
  • Storage Quotas & Usage Tracking
  • Search & Metadata

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  Drive{
    driveController: new AWSControl( // controller / storage for drive
      process.env.BUCKET_NAME, 
      process.env.BUCKET_ACCESS_KEY_ID, 
      process.env.BUCKET_SECRET_ACCESS_KEY, 
      process.env.BUCKET_AWS_REGION
    )
  }
}

Promptgen

Module to handle AI-driven interactions and prompt generation. It enables users to create, manage, and interpret AI prompts through conversational and customizable interfaces.

Features

  • Prompt Creation & Management
  • Conversational Interface
  • Prompt Templates & Variables
  • Response Interpretation
  • Agent management
  • Execution & Automation
  • Context & Memory Handling
  • Custom Functionality & Extensions

Pages

Quick Setup

instance bundle Bundle{
  LocalDatabaseSetup{}
  PromptGen{
    id: promptGen
    processors: [
        new PromptGenProcessor(
            'processor-name',
            new ConfiguredTokenGenerator(process.env.KEY),
            new HtmlExtractor()
        )
    ]
}