Confused about Hono
Hi everyone! I am building a Webflow app that takes data from the open Webflow designer page, connects to an external API, and spits back recommendations to the user. I have a couple of questions about logistics and which libraries to use, this being the first time I've tried to build an app like this. I am using Web Bae's monorepo for this.
I have everything working on the client side, but my understanding is that I should put the API keys and other secrets in the server side, so that they don't get exposed. Is that accurate? I started doing that, and I'm trying to figure out cf workers and hono, but it occurs to me that I don't need to use hono, right? I'm connecting to an external API, so I can just do that directly. Or should I create routes and put the code to connect to that API in those routes, for an extra layer of security?
Trying to set up the environment variables with cf workers just took me about 45 minutes, and I'm not even sure it's working because I haven't built the app yet. I just want to make sure I'm going down the right path and not over-complicating things if I don't actually need to use cf workers for this. Any suggestions would be greatly appreciated! I can share my work as well.
0 Replies