Day 21 of #100DaysOfNode
Today I implemented the post returns endpoint for my movie app. I wrote tests first then the code to make them pass. It was more time consuming but allowed me write just the necessary code.
#100DaysOfCode#CodeEveryDay#LearnNodeJS#BuildInPublic
Day 17 of #100DaysOfNode
I refactored my entry file, index.js to what is in the image. It was getting really noisy with all the configuration and logging logic.
I also started learning unit testing. Still on the theory.
#100DaysOfCode#CodeEveryDay#LearnNodeJS#BuildInPublic