Dashboard provides web apps an instant UI and API for user accounts, organizations and Stripe integrations
Deploy it in front of your web application, style it with CSS, and skip the "boilerplate" for accounts, subscriptions and more!
DocumentationSource codeIt's even easier with our hosting:
Layered Apps- zero-code integration ✓
- stack-agnostic ✓
- horizontally-scalable ✓
- self-hostable ✓
- API-driven ✓
- modular ✓
- themeable ✓
- responsive ✓
- open-source ✓
How it works
- User makes request
- Dashboard receives request
- URL recognized as Dashboard or Module content
- User receives content from Dashboard server
- Dashboard forwards request to Application server
- Application server returns content to Dashboard
- User receives content from Application server
- Application server returns content to Dashboard
- URL recognized as Dashboard or Module content
- Dashboard receives request
Deplyment instructions
First set up NodeJS and your Dashboard server with any modules you want
$ mkdir my-dashboard-server
$ cd my-dashboard-server
$ npm init -y
$ npm install @layeredapps/dashboard
$ npm install @layeredapps/organizations # optional
$ npm install @layeredapps/stripe-subscriptions # optional
$ npm install @layeredapps/stripe-connect # optional
$ echo "require('@layeredapps/dashboard').start(__dirname)" > main.js
Add your configuration to your package.json
"dashboard": {
"title": "My Web App",
"modules": [
"@layeredapps/stripe-subscriptions"
]
}
Install the driver for your preferred database (read about storage backends and caching)
$ npm install sqlite3 # perfect for dev/testing
$ npm install pg pg-hstore # for postgresql
$ npm install mysql2 # for mysql and mariadb
$ npm install tedious # for mssql server
$ npm install ibm_db # for db2
Start your server (read about configuration variables)
$ export APPLICATION_SERVER=http://localhost:3000
$ export APPLICATION_SERVER_TOKEN=secret
$ node main.js
Dashboard will start at http://localhost:8000