News for hackers. Stuff that matters.

Ask HN: Which framework do you use for your APIs (Node.js or Ruby)

I'm using NextJS (Serverless React on Node.JS) but the api structure there is very limiting, especially considering Ruby on Rails. I was looking for an API framework that can handle pretty expensive business-level workloads maybe in Node.JS or Rails. I wanted to go with Rails, but I'd be severely losing on Serverless (I use Vercel to host). If you have any idea, you're welcome. tya.
( 8 comments | on HN )
Re:Ask HN: Which framework do you use for your APIs (Node.js... by adrian13582102 on Tuesday September 07, 2021 @12:20PM (#28446582)
Maybe Webiny (https://www.webiny.com, https://www.webiny.com/docs) could be the solution you're looking for! ;)

It's designed to make serverless application development as easy as possible.

For example, with the built-in scaffolds (https://www.webiny.com/docs/how-to-guides/scaffolding/introd...), you can pretty quickly provision a new React application, GraphQL API, or even a full-stack application. Once that's up, further development is as easy as simply starting a new watch session with the "webiny watch" command (https://www.webiny.com/docs/how-to-guides/use-watch-command/). It will make sure that all of the changes that you perform, both on application and cloud infrastructure code level, are automatically deployed into the cloud for you. In a way, this mimics the good-old local development experience.

And there's a lot more, but I'd probably pollute the thread. :)

If you're interested, feel free to ping me, here or maybe via our community Slack (https://www.webiny.com/slack). I'd be glad to assist with any questions / feedback you might have.

@vixalien

P.S. Disclaimer: I work at Webiny :)

Re:Ask HN: Which framework do you use for your APIs (Node.js... by jayair on Tuesday September 07, 2021 @09:47AM (#28444783)
For a more full-featured serverless setup, you can check out SST: https://github.com/serverless-stack/serverless-stack

It runs on your AWS account and it comes with a local development environment (https://docs.serverless-stack.com/live-lambda-development) as well.

Re:Ask HN: Which framework do you use for your APIs (Node.js... by rtcoms on Tuesday September 07, 2021 @09:25AM (#28444509)
Have you looked at Ruby on jets.

Serverless framework for ruby: https://rubyonjets.com/

Re:Ask HN: Which framework do you use for your APIs (Node.js... by vixalien on Friday September 10, 2021 @10:13PM (#28488900)
Yeah, I did. The only reason I couldn't use it is it doesn't support MongoDB, which I use.
Re:Ask HN: Which framework do you use for your APIs (Node.js... by PaulHoule on Monday August 30, 2021 @09:47AM (#28355611)
If you workload is "expensive" you want to use a language that is more static like Java or Go.
Re:Ask HN: Which framework do you use for your APIs (Node.js... by vixalien on Tuesday August 31, 2021 @12:06PM (#28369735)
I have used Java in the past and with all the horrors I've seen there, not going back.

I have considered trying Go but I don't know how it will deal with the whole serverless stuff.

Re:Ask HN: Which framework do you use for your APIs (Node.js... by metaloha on Monday August 30, 2021 @11:54AM (#28356937)
NestJS for node works quite well for APIs (TypeScript as a bonus).
Re:Ask HN: Which framework do you use for your APIs (Node.js... by neophyt3 on Monday August 30, 2021 @02:27PM (#28359140)
nodejs with fastify.js