This is part 2 on the topic of Expressjs controller unit testing. Previously, I added unit tests for 5 basic CRUD APIs for vehicle. In this post I will show one more example, where controller logic gets a little longer.
[Read More]Unit Testing Expressjs Controller (Part 1)
Stepwise Test Driven Development of Express Mongoose CRUD APIs
So far, I have not found a real workable example of unit testing Express controller/route for API. Most I saw either label integration test as unit test or offer little meaningful in right direction.
[Read More]Develop Two Player Chess Game Application with React Js
Why I Chose Hugo Framework For My First Blog?
A journey of exploring various CMSs, website builders and static site generators before settling on Hugo
If you are an over-thinker like me, you are bound to share my experience ahead of launching your first blog. The most strenuous part is platform selection. Wordpress.org? Wordpress.com? Squarespace? Wix? A never ending cycle begins: Weigh pros and cons of each and choose one, only to start over again on second-guessing.
[Read More]Node Express Endpoint to Upload and Process CSV File
How to Draw NoSQL Data Model Diagram?
NoSQL, unlike SQL which has ER and class diagrams, has neither names nor constraints for data modeling diagrams. The obvious reason is the relaxed rules of NoSQL about relationships, which aim to get a developer started with minimum requirements.
[Read More]