3
21 Comments

What is your favorite stack for backend development?

There are lots of options to explore nowadays... Maybe too many... I'm currently drowning in options, languages and frameworks...

on July 17, 2019
  1. 6

    I'm using Elixir + Phoenix Framework. It's been nothing short of amazing in that it's possible to develop very quickly and the result is performant and scalable. I found it so much of a win that I've made over 100 videos teaching it, which actually turned into an indiehack. If you're comfortable with functional programming or need a very stable, scalable infrastructure (like for a free to play or ad-driven product) I'd strongly suggest checking it out. On a $5/month Digital Ocean droplet 1K + requests per second is doable and page loads are snappy.

    In the past I used Node because JavaScript was the only language I knew well. Later I moved onto Ruby on Rails for its ability to ship apps considerably more quickly (even though I had much more experience in the JS world). It's still a great choice for most indies (as is Laravel). The thing that pushed me to learn Elixir was a previous startup involving a free to use video chat app with some fairly intense perf requirements.

  2. 2

    Javascript. I will consider Golang when I start facing scaling issues

    1. 2

      Any stories to share about apps where you hit scaling issues?

    2. 2

      Do you use any rails / laravel like framework with js?
      I've been happily using loopback for a while but I'm curious about what other node developer use

      1. 1

        I use node.js with express

        1. 2

          I find that express alone makes me write too much boilerplate.
          I was looking for something that would generate the CRUDs and the rest api with it, have a baked in auth and ACL system

        2. 2

          I actually tried to use Node.js before and was a nightmare for me. Maybe because im not that good with Javascript...

  3. 1

    It's not the latest hotness it once was, but I still love Ruby on Rails. The language itself is beautiful and focuses on development happiness first. This makes Ruby extremely readable, flexible and fun.

    Ruby's been around long enough now (since 1995) that there are libraries for just about everything out there. When a site makes a new service, they'll often make a handful of libraries for devs and Ruby is almost always one created.

    Since it's been around so long, there's a wealth of education on the topic too. I really like GoRails ( https://www.indiehackers.com/product/gorails ) which has a ton of great videos for learning.

  4. 1

    Python + Flask + SQLAlchemy

    I use python for automation at work (I'm a Network Engineer), so I use python for my side projects. Sticking with what I already know for the backend really speeds up development, despite the need to learn Javascript and CSS as I go for the front end.

  5. 1

    Java, some SQL database RDBMS, Vue.js, Digital Ocean, dark-roast coffee.

  6. 1

    I'm using JS Ecosystem, Node js/Express
    JS's allows me to stay in the same stack on Client/Backend side and even create Mobile apps by React Native/Ionic in additional the general stack.

  7. 1

    I use Node.js/Express/GraphQL. I love it because it allows me to use the same language on the front-end and back-end.

  8. 1

    Hi Luis, what's the language you default to or that you feel most comfortable with?

    1. 1

      I know HTML, CSS and a little of PHP and Javascript.

      Currently, I'm actually trying to relearn PHP and Javascript from the beginning to improve.

  9. 1

    So far, with basic CRUD apps, I've used Firebase with its auth and Firestore db if I can get away with it. You can add logic to the backend with JS cloud functions as well, but I haven't explored that yet.

    For more control of the backend I would probably reach for Python with Django or FastAPI.

  10. 1

    It depends on what you want to build and what you are familiar with.
    For instance, if you want to use machine learning, I would advise Python.
    So first I would ask a different question. What are you trying to achieve? What's important in your project? Speed? Consistency? etc..

    Hope it can help you.

  11. 1

    Depends what problem you're solving.

    Everyone has opinions, but no-one is trying to do what you are.

  12. 1

    Hi Luis! I've been using Koa for over a year, almost two by now. I've used in my previous work and it escalated well. Currently I have https://beta.nicetalks.co/ running fully on it. Mongo and Koa, it is pretty straightforward to setup a digitalocean VPS to deploy and running locally is a breeze as well.

    I even have a repo with some starting boilerplate I proposed:
    https://github.com/mgranados/koala-server

  13. 1

    We got quite a few responses to a similar question a little while back - what's your tech stack?

    1. 1

      Wow, nice! Thanks for the link :)

  14. 2

    This comment was deleted 6 years ago

    1. 2

      Very cool! I've also started getting interested in Rust due to their suitability for making truly safe NIFs for use in Elixir projects.

      The only thing is... it's going to take a lot of traffic before it's reasonable to invest in that level of performance optimization.

      1. 2

        This comment was deleted 6 years ago