I am currently working for a startup and am one of 3 developers. Most of my work revolves around building the API in Node + Express as well as some small projects with MongoDB. The other developers don't really assist me since they have their own projects to work on, and, honestly, they have less experience and knowledge than I do.
So my question is: What is the best way for me to go about learning best practices in API development, or using MongoDB, or even just being a better software developer in general?
Some practical things that have helped me, by no means an expert:
The main point of the exercise is to show:
You can borrow design/implementation ideas from current projects that you're familiar with or use a design pattern you found on a blog etc. it will help you recognize when certain practices are the "best".
It seems there's many ways to do the same thing. Which one is best depends on the situation.
If I could count, the amount of times I've thrown away code because I optimized to early...
tl;dr best practice needs context. This requires big picture thinking. Learn to recognize contexts and the best practices are alot clearer