Production best practices to make NodeJS run reliably in production.<p>I looked around and there is only newbie level courses, like installing on Heroku, etc.<p>I'm looking for some real-world hardcore professional stuff. With database migrations, logging, monitoring, debugging, optimising the environment, etc.
You might find some books with more advanced Node.js material on Packt Publishing.<p><a href="https://subscription.packtpub.com/search?query=node.js" rel="nofollow">https://subscription.packtpub.com/search?query=node.js</a><p>I'd sort by recently published. The difficulty with the JS ecosystem is that books can go out of date within a couple years.<p>The best learning material for me has been studying open-source projects on GitHub, by searching relevant keywords.
I’ve had some experience with moderately hardcore nodejs setups (hundreds of nodes).<p>I’m far from being an expert, but I noticed that nodejs is such a joy to work with that most of the time it just works.<p>As long as you write a quality code within given set of basic constraints - there’s almost nothing to dance around.<p>Cmon, it’s just a single threaded process pushing jsons back and forth. What else there to “architect”?<p>My old jvm days seem nightmare now.
The only advice on this subject:<p>1. Learn to use Nodes APIs and don’t rely on NPM packages for most things. For external applications, like databases, rely on the vendor integration package supplied by that application’s vendor.<p>2. Take error handling seriously and apply it universally and uniformly.<p>3. Everything else will come down to understanding JavaScript (or TypeScript) and solid principles of architecture.