27

Coding my first api RESTful with node.js ...... heaven exists

Comments
  • 1
    Oh yeah. I need to make a rest service in .NET and man do I miss node.js and express.
  • 0
    @lench its so simple haha
  • 5
    Wait until you're stuck in callback hell 😈
  • 4
    @kong do you even promise?
  • 0
    @vzqzac yeah, sometimes. I'm not a very committed person 😁

    On a serious note, I don't do backend with node much. I usually use a PHP framework, someone else's service, or Firebase for real-time database :/
  • 0
    @kong firebase is neat, you can do some cool stuff with it
  • 0
    Leí el comentario y supe que eras vos sin ver el usuario ajajaajaj NERD I KNOW U
  • 1
    @kong promise and async.js is the way out of hell yo
  • 4
    @kong nope. that's a lie which most of us believed. just make sure you return something and you are good to go. callbacks hell exists only when we don't pay enough attention to the code we write.
  • 4
    Nah - Try Servicestack (v3!) that's heaven
  • 0
    @buycurious99 eat my shorts
  • 0
    @Kimmax it used to be free but unfortunately they made it commercial now.

    They do have pretty a damn good redis library though.

    The free opensource project equivalent is Nservicekit, which is a fork of Servicestack v3. Look it up.
  • 5
    @kileak still happy with v3 here. Will check it out tho, thanks a lot!
  • 1
    @kileak node v7.* comes with built in async-await and promises which is awesome
  • 0
    @vzqzac I'm still on 6.9 honestly because wanted to develop on LTS version but yeah I'll have a look. :)
Add Comment