i am a beginner to expressjs. i found the code very useful as a how to, covers express more depth compared to what you usually find on youtube and books. especially on scripting and security related topics
code samples
github code - cloning/importing
was split into folders by chapter each with their own package json. would be nice to clone the entire book code as a single project and tinker with it, had errors trying to clone the repo into codesandbox,
readability
the code is jumping here and there. maybe use some fake credentials as placeholder? and then emphasise on the security concern and the need to refactor. there were too many app use and app gets, callbacks, variables, hard time picturing how the routes work.
topics:
the chapter on formal testing to be at the back, for better logical flow?
more on file organisation, code organisation conventions
separate the views as a section rather than together with the code? only include the data object to be returned by expressjs. since there are many ways to do the view eg template engines, react,vue, nextjs etc
that said, i found the book very useful, highlighting and re-reading through the examples and explanations