The only advice on this subject:
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.
2. Take error handling seriously and apply it universally and uniformly.
3. Everything else will come down to understanding JavaScript (or TypeScript) and solid principles of architecture.