by someuser54541 on 3/21/23, 3:31 PM with 5 comments
They've both worked, but Node.js often feel "unwieldy" very quickly, while Rails often seems like way to much magic and rigidness.
I'm about to start working on a new project and wondering if it's worth trying something else. I have a lot of experience with Kotlin, so thought about ktor. I also keep hearing good things about Go.
So, what is your opinion? What would you use?
by CharlieDigital on 3/21/23, 4:04 PM
.NET minimal web APIs are very similar to Express in setup (at least initially; you layer in middleware as needed).
You can get an API up and running in Google Cloud pretty quickly.
Short video here: https://www.youtube.com/watch?v=GlnEm7JyvyY (< 7 minutes to get a minimal web API into Google Cloud Run with no special tooling involved).
Entity Framework (ORM) is pretty good and supports a variety of databases (SQL Server, Postgres, MySQL, others). Working with JSON is low-friction.
by dev-screen on 3/21/23, 3:43 PM
One word of advice, as I noticed you use the word "magic" when referring to rails. I did the same earlier in my career, turns out it was just that I didn't understand it well enough yet. That takes time, unfortunately! It's only after you spend hours or days tracking down a tricky bug that you begin to get into the internals of these systems and begin to understand the "magic".