Homepage
Homepage
Become a memberSign inGet started
Building a scalable Node.js Express app
Gerard Rovira
1.7K14

Go to the profile of Anton Klimenko
Anton Klimenko
Feb 17, 2017

Great article!

Just a semantic note. I would use 400 error code on user’s input validation errors, 404 when service can’t find a resource and 500 when service crashes (for instance, DB is not available)

  • Go to the profile of Anton Klimenko

    Anton Klimenko

    Software Engineer @seekjobs and chef @CloudRecipesIO

    Go to the profile of Anton Klimenko
    Never miss a story from Anton Klimenko, when you sign up for Medium. Learn more
    Never miss a story from Anton Klimenko