Hacker News new | ask | show | jobs
by billconan 2314 days ago
I am confused. The JavaScript, does it run on the frontend, like firebase? or I send it to the backend? If I send the script to the backend, how to debug? How to do entitlement? For example, I only want user A to access its own data.
1 comments

Queries run on the backend in isolated VMs. To separate data for different users, you could use the saved query feature to isolate portions of data from each other, or alternatively create a separate database for each user. Providing comprehensive debugging facilities is an interesting idea...perhaps some kind of local testing sandbox would be useful there? What do you think?
I want breakpoints, being able to check variable's value and logging. It would be better if the environment requires zero setup.
One of the advantages of javascript versus a proprietary language is we can take advantage of the excellent tooling built-in to the existing js ecosystem. On the occasions where I had to write T-SQL stored procedures for example, I hated being locked in to a specific IDE for syntax highlighting and debugging. Moving forward I'd like to provide easy templates, perhaps through NPM or the like, for setting up Unbounded projects. Thanks for the feedback.