Qualities

The project has some qualities:

  • Some thought has gone into organizing the code, and the file names give us a pretty good idea of what’s contained within, even if helpers and lib could be more helpful.

  • There are few dependencies, resulting in good performance.It’s quite easy to add a new type of animal as long as no new special behavior is required. Storing information with or without a counter only requires the creation of a new class and routes.

  • Right now, the code isn’t overly complicated (but this is also due to its being a mere example).

Now, what are the specific issues with this project, and what does that tell us about other projects written in a similar style?

The first issue involves the passing of request, response, and next parameters, something express seems to have made popular in the Node ecosystem. For example:

Get hands-on with 1400+ tech skills courses.