HACKER Q&A
📣 vixalien

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.


  👤 adrian13582102 Accepted Answer ✓
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 :)


👤 jayair
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.


👤 rtcoms
Have you looked at Ruby on jets.

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


👤 PaulHoule
If you workload is "expensive" you want to use a language that is more static like Java or Go.

👤 metaloha
NestJS for node works quite well for APIs (TypeScript as a bonus).

👤 neophyt3
nodejs with fastify.js