TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Deploy serverless functions from front-end app

1 点作者 imedadel超过 3 年前

1 comment

imedadel超过 3 年前
Hi HN!<p>Setting CD pipelines for serverless functions and figuring out how to compile them and all of that work, just to get some code executed securely is tiresome. So, I developed Merebase as a solution to this problem. It&#x27;s one JavaScript function that you can call in your front-end application and it handles the whole deployment process on our servers.<p>The security side is handled by giving users two keys, a private one and a public one. Functions are only compiled using the private key and can be executed safely in production using the public key. This ensures that no one will deploy malicious functions on your behalf. Furthermore, you can limit code execution to certain hosts.<p>You can also set environment variables through the dashboard, which are then loaded into your deployed functions. This means that you can access your database or any secured endpoints without having to set up a server.<p>I decided to keep Merebase in beta in order to tackle any security issues and freely change the API without disturbing users. Currently, it only supports Node.js with plans to add Go and Python.<p>What do you think? Are there any concerns that I need to address? Are there any features you&#x27;d want to see added before the public release?