Show HN: Run Lambdas from your front-end code

(merebase.com)

4 points | by imedadel 949 days ago

2 comments

  • ezekg 948 days ago
    The landing page looks great. But querying databases and sending emails isn't something I'd normally recommend doing in front-end code. This seems like it could easily be used to leak data and secrets by simply editing the lambda() code.
    • imedadel 948 days ago
      That's actually not possible. We provide 2 keys, a private one and a public one. Lambdas could only be edited using the private key. The public key, which you're supposed to be using in production, allows you to only execute the (already deployed) function.

      Was this explanation good? I will add it to the landing page in case someone had the same question.

      • ezekg 947 days ago
        That’s perfect, thanks for clarifying. That sounds like an awesome way to handle the problem.
  • quickthrower2 949 days ago
    Sweet idea!

    Page is a bit broken on iOS safari fwiw

    • imedadel 949 days ago
      Since I don't have any Apple devices, if you've got any free time, I'd really appreciate a screenshot to see the issue. Thanks!