- Bun v1.0 or later
git clone https://github.com/visibuild/api-demo
cd api-demo
bun install
bun run devThe app opens at a random port (shown in the terminal). Open it in your browser.
src/
bun/ Backend logic (API client, OAuth, webhook server, SQLite)
server/ HTTP + WebSocket server entry point
mainview/ Browser-side HTML, CSS, TypeScript
tests/ Bun test files
bun test- Fork the repo and create a branch:
git checkout -b feat/your-feature - Make your changes
- Run
bun test— all tests must pass - Open a pull request with a clear description of what and why