Start from an example app
- Open your terminal and enter the following command:
bunx create-huddle01
- Give a
Name
to your project. - Choose
Client SDK
. - Pick
Web
as the platform. - Choose
Vanilla
to generate boilerplate. - Confirm whether you want to use
TypeScript
. - The sample app has now been cloned to your local system!
Change directory
cd name-of-the-app
Install the dependencies
bun i
Run the project
bun dev
💡
We prefer bun over pnpm, yarn or npm.
Open your browser and check out the sample app
Vanilla sample app
Typescript (preferred) - https://github.com/Huddle01/client-vanilla-ts-example (opens in a new tab)
Javascript - https://github.com/Huddle01/client-vanilla-js-example (opens in a new tab)