10
29 Comments

Starting today: Should I learn Node.js & Express.js vs. Ruby on Rails?

Any recommendations for someone looking to learn full stack development?

I'm NOT looking to become a professional developer, but I do want to get proficient enough to create quick, proofs of concept (functional first versions, even if the code base doesn't carry through to the final production version).

I'm reasonably comfortable with HTML and CSS, but my proficiency in JavaScript is very limited at this point (currently learning ES6).

Any feedback would be appreciated :)

on August 19, 2019
  1. 10

    Rails will get you to built prototypes a lot faster than Node will. I say this despite having at least 10k more hours working with JS than Ruby.

    Also if you want to optimize for dev speed, I'd avoid front-end frameworks like React, Angular, etc and just use minimal JS where needed. If you need a full-blown single page app, then Vue is the quickest one to get started with.

    1. 3

      I do not agree.

      My experience is that it is much quicker to write font end code in React than stitching vanilla html/css/js.

      With React with Styled Components you can have all your html/css/js in a single file.

      1. 4

        This comment was deleted 7 years ago.

        1. 1

          I have not. My comment was concerning html/css/js vs React in general.

    2. 2

      This comment was deleted 4 years ago.

  2. 6

    As someone who has about 5+ years in node/react , use rails. As much as I love the stack, there is so much more to configure and tie together. Rails has done a great job of doing much of this for you.

    As a testament to this I’m currently building my next project on rails. It’s just hard to argue with a toolset that lets you spin up Basic apps so quickly. Node is great, but still got a ways to go in this department.

    Also my previous company tenrocket.com, still uses ruby/rails for development for all the startups they work with.

    Anywhos use rails to start. :)

  3. 4

    If you’re open to other suggestions. The Laravel PHP and VueJs stack is very easy to learn and is an incredible set of frameworks to work with. I would highly recommend them.

    1. 1

      I keep hearing good things about Laravel. I have marginal PHP experience from tinkering with WordPress themes and plugins, what would you say is the main reason Laravel would be a better option that full stack JS or Ruby on Rails?

      Regarding, Vuejs, am already planning to learn that, have watched a few beginner tutorials and was impressed with what I saw.

      1. 1

        I honestly can’t speak to Rails or Node, as I don’t have much experience with them. I just know that my current stack is excellent and I have no complaints. Also, just like Vue.js, Laravel has best in class documentation.

  4. 4

    If you're already learning JS, I would say Node and Express

    1. 2

      good advice here.
      if you are learning ES6, then go for Node.js.

  5. 3

    Honestly based on your description, I might direct towards something more like Sketch or a design app more suited to mockups as opposed to diving into actual development.

    if you really wanna learn web development, maybe start with the end result and work your way backwards. I don't always use the same stack for every project. For example, I might build a blog using php/wordpress and spend most of my time in nginx configuring the caching to get the best performance. Solve the problem with the best tool for the job. I personally believe that javascript is the future, so I'd toss ruby on rails in favor of something like express. That being said, php and RoR are still very dominant in the server side rendering space. Javascript.info is a great site and resource for learning.

    Definitely spend time learning object oriented programming in any language as a lot of those concepts carry over to anything.

  6. 3

    Rails because its web development on easy mode. There tons of resources for beginners. Check out the Odin project (a free online bootcamp, with people to help you learn) and the launch school free ebook series.

    I done the same last October and my web app will be launching within a month or so, just in time for my year anniversary of learning.

  7. 3

    I greatly improved my JS knowledge by learning node.js, that is an advantage.

  8. 2

    You are learning ES6, so I recommend you go with Node.js, Express.js, VueJs ..

    Good luck!

  9. 1

    Lots of answers here focused on the code itself, but if building POCs or prototypes is your target, why not something like Bubble or Wappler?

    1. 1

      I've looked at Bubble but I enjoy the process of building an app from scratch, also, I want to have something to offer beyond the prototype stage – being able to jump in and offer some help where needed.

      Nothing against Bubble though, I met someone last week who's built hundreds of MVP apps using Bubble (was probably an exaggeration, but still impressive)!

  10. 1

    If starting today, I would say Node/Express.

    This is gonna be slight controversial. Even though Node/Express is not latest kid on the anymore, Ruby/Rails (all the blocking frameworks) feels a little out of dated.

    1. 1

      This comment was deleted 7 years ago.

  11. 1

    If you want to get up to speed on rails I have reviewed other peoples boilerplate Rails code that may get you where you want to be:

    https://boilerplatecode.com

    I also have some open source Rails boilerplate code that instantly auto generates an entire Rails site, with a default template, Stripe, etc... for you:

    https://github.com/rails-boilerplate-code/base-template/blob/master/README.md

    1. 2

      Jumpstart Rails is missing! The creator is the same person behind GoRails and Hatchbox.io.

      1. 1

        Wasn't missed.

        Jumpstart wasn't officially released when I wrote those posts. It has been since (obviously) and merits a post of it's own.

  12. 1

    After you learn Node+express you can learn FeathersJS and achieve ruby levels of development speed, I'm using It for a year now and it's really fast to create a full featured backend in Feathers

  13. 1

    Node + Typescript all day! I worked with a handful of different languages professionally, and I can honestly say that nothing compares to Node in terms of development speed.

  14. 1

    I would recommend you start from an open-source project that is almost-what-you-want-but-not-quite and start hacking in whatever language that project is written in.

  15. 1

    If you already know even some JavaScript, I'd recommend going with Node.js. That way you can use the same language for front end and back end (which is REALLY nice). Plus, Node.js is capable of scale.

    1. 3

      Isn't Flutter just mobile? Or do they have a server side component too?

      1. 2

        Good point! Its mostly on the UI side -- but plays nicely with firebase which is also a good option for getting the back end of a prototype up and running quick. Mobile, Web and Desktop soon too :-)

    2. 1

      It looks like Flutter requires you to write code using the DART language. Is there much of a learning curve with that language?

  16. 1

    If you are not planning to become a profesional developer but only want to be able to quickly prototype focus on NodeJS ( Express) + React for frontend. This package will allow you to single handedly create a PoC of any idea.
    Also with Node.js it is possible to use different serverless providers - this saves some time and increases the speed of creating your PoC.
    Additionally I would also recommend you to try TypeScript .

  17. 0

    No need to learn nodejs/express when you can just have an instant Real-Time GraphQL over PostgreSQL with Hasura.

    Checkout https://hasura.io

    Combined with React and Apollo Client that stack is very powerful!

  18. 1

    This comment was deleted 7 years ago.

  19. 1

    This comment was deleted 7 years ago.

Trending on Indie Hackers
30 days ago I posted here with $0 revenue. Here's what actually happened next. User Avatar 148 comments I used $30,983 of AI tokens last month in Claude code on $200/mo plan User Avatar 90 comments my reddit post got 600K+ views. here's exactly what i did User Avatar 58 comments How to spot high-intent customers in 5 minutes, for free. User Avatar 44 comments Fixing broken scrapers instead of working on my actual product. So I made it my problem. User Avatar 38 comments I Built a Habit Tracker SaaS Alone in 6 Weeks (No CS Degree, No Team). Here's Exactly How User Avatar 38 comments