Introduction
How it works
A 35,000 foot view.
The Backstack dashboard
The Backstack dashboard is your central hub for creating resources, building, and deploying your application schemas.
Shared resources
Use the dashboard to create reusable libraries of resources to share between application configurations.
- Features — Define features for application functionality.
- Roles — Create user roles with permission-based feature access.
- Fees — Manage fees for application monetization.
Unique applications
Use the dashboard to build unique application schemas.
- Domains — Define different entry points to your application.
- Versions — Offer different versions of application feature sets (e.g., Basic, Advanced).
- Monetize — Assign your fees to anything for automatic processing.
Your codebase
Integrate the configurations from your Backstack dashboard into your application code.
Request a session
Sessions are built in real-time by combining application resources and schemas, customized according to the currently logged-in user's context.
const {data: session} = fetch('https://api.backstack.com/app/session',{
Authorization: 'your-app-key'
})
Process session values
Your existing codebase structure already supports feature-based access control with minimal modification needed.
// Before
<h1>My App</h1>
<h2>Hello User!<h2>
<button>Add Payment Method</button>
// After
<h1>{session.app.title}</h1>
<h2>Hello {session.user.name}!<h2>
if(hasAccess('payment-methods:c', session.access))
<button>Add Payment Method</button>
Feature-based authorization
Backstack combines application version controls, RBAC permissions, and domain-specific access rules, to deliver a comprehensive security layer, enforceable through feature-based access verification.
The essence of simplicity.