Apps
Apps represent individual applications within a project. Each app can have multiple releases and custom hostnames.
Overview
Section titled “Overview”An app is a deployable application that:
- Belongs to a project
- Can have multiple releases (versions)
- Can have custom hostnames
- Maintains a current active release
Creating an App
Section titled “Creating an App”Create a new app within your current project:
# Set project context firstbrdz ctx:use
# Create the appbrdz apps:create my-appThe app name must be:
- Unique within the project
- URL-safe (lowercase letters, numbers, hyphens)
- Descriptive of the application
Example
Section titled “Example”# Create a web frontend appbrdz apps:create web-frontend
# Create an API appbrdz apps:create api
# Create a documentation sitebrdz apps:create docsListing Apps
Section titled “Listing Apps”View all apps in your current project:
# List apps in current projectbrdz apps:listOutput example:
ID Name Current Release Created At1 web-frontend 42 2025-01-15 10:30:002 api 15 2025-01-16 14:20:003 docs 8 2025-01-17 09:15:00Getting App Details
Section titled “Getting App Details”Get detailed information about a specific app:
brdz apps:get my-appOutput includes:
- App ID
- Name
- Current release ID
- Creation timestamp
- Project association
App Lifecycle
Section titled “App Lifecycle”1. Create the App
Section titled “1. Create the App”brdz apps:create my-app2. Set App Context
Section titled “2. Set App Context”brdz ctx:use3. Deploy Releases
Section titled “3. Deploy Releases”brdz releases:create ./dist.zip4. Add Custom Domains
Section titled “4. Add Custom Domains”brdz hostnames:create example.comWorking with Multiple Apps
Section titled “Working with Multiple Apps”Switching Between Apps
Section titled “Switching Between Apps”# Switch to a different appbrdz ctx:use
# Verify current appbrdz ctx:getDeploying to Multiple Apps
Section titled “Deploying to Multiple Apps”# Deploy to first appbrdz ctx:usebrdz releases:create ./frontend.zip
# Deploy to second appbrdz ctx:usebrdz releases:create ./backend.zipApp Organization
Section titled “App Organization”Microservices Architecture
Section titled “Microservices Architecture”# Create separate apps for each servicebrdz apps:create api-gatewaybrdz apps:create user-servicebrdz apps:create payment-servicebrdz apps:create notification-serviceFrontend and Backend
Section titled “Frontend and Backend”# Separate frontend and backend appsbrdz apps:create web-frontendbrdz apps:create api-backendMultiple Environments
Section titled “Multiple Environments”Within different projects, create matching apps:
# In production projectbrdz ctx:use # Select 'production'brdz apps:create web-app
# In staging projectbrdz ctx:use # Select 'staging'brdz apps:create web-appBest Practices
Section titled “Best Practices”- Use descriptive names - Choose clear app names that indicate purpose
- One app per service - Keep apps focused on single responsibilities
- Set context before operations - Always verify
ctx:getbefore deployments - Consistent naming - Use the same naming conventions across projects
- Document purpose - Keep notes about what each app does
Limitations
Section titled “Limitations”- App names must be unique within a project
- Apps can only belong to one project
- App names cannot be changed after creation
- Deleting an app requires deleting all releases first
Commands Reference
Section titled “Commands Reference”apps:create <name>
Section titled “apps:create <name>”Create a new app in the current project.
Requirements:
- Project context must be set
Arguments:
name- App identifier (required)
Example:
brdz apps:create my-appapps:list
Section titled “apps:list”List all apps in the current project.
Requirements:
- Project context must be set
Example:
brdz apps:listapps:get <name>
Section titled “apps:get <name>”Get detailed information about an app.
Requirements:
- Project context must be set
Arguments:
name- App identifier (required)
Example:
brdz apps:get my-appRelated Topics
Section titled “Related Topics”- Projects - Creating projects to contain apps
- Releases - Deploying releases to apps
- Hostnames - Adding custom domains to apps
- Context Management - Managing app context
- Core Concepts: Apps - Understanding app architecture