A minimal example application demonstrating how to integrate the Maestro Web SDK into a React application.
- Node.js 16+
- Yarn
- Clone the repository:
git clone https://github.com/lessthan3/maestro-bbd-sdk-example.git
cd maestro-bbd-sdk-example- Install dependencies:
yarn- Configure your Site ID and Page ID in
src/App.tsx:
const SITE_ID = "YOUR_SITE_ID";
const PAGE_ID = "YOUR_PAGE_ID";- Start the development server:
yarn startThe app will open at http://localhost:3000.
maestro-bbd-sdk-example/
├── public/
│ └── index.html # HTML template
├── src/
│ ├── index.tsx # Entry point
│ ├── App.tsx # Main app with SDK initialization
│ ├── AppDelegate.ts # SDK delegate implementation
│ ├── VideoPlayer.tsx # Video player component
│ └── styles.css # Application styles
├── package.json
├── tsconfig.json
└── webpack.config.js
See the Hello-World PR for a complete example of Maestro SDK integration.
yarn start- Start development serveryarn build- Build for production
MIT