Hi @Sega2,
I don't there are many patterns or approaches published widely yet. In general, though, for production web apps, you may want to consider something like frontend --> thin backend --> Lakebase rather than calling Lakebase Data API directly from browser.
The reasons are mostly standard webโsecurity concerns... You donโt want OAuth tokens with broad database access in the browser, and that's where a think backend gives you a place to centralise auth, rate limiting, input validation, and query shaping.
If you do use the Lakebase Data API from a web client, just make sure you follow the best practices recommended in the Lakebase API documentation.
Attached a snapshot below for reference.

If this answer resolves your question, could you mark it as โAccept as Solutionโ? That helps other users quickly find the correct fix.
Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***