This example show show you can integrate Limrun instances in your application.
It has two components:
backend/: The calls you need to make in your server with your Limrun API key.frontend/: How to mount the LimrunRemoteControlReact component in your frontend to stream the created instance.
Clone this repo and enter this example folder:
git clone https://github.com/limrun-inc/typescript-sdk.git- Get an API Key from
Limrun Console>Settingspage here. - Make it available as environment variable.
export LIM_API_KEY="you api key"
- Start the backend.
yarn --cwd examples/fullstack/backend install yarn --cwd examples/fullstack/backend run start
- In another terminal session, start the frontend.
yarn --cwd examples/fullstack/frontend install yarn --cwd examples/fullstack/frontend run dev
- Go to
localhost:5173and create your first instance through your backend!