DEV Community

Discussion on: ExpressJS Project Structure

Collapse
 
isoloi profile image
ISOLOI

Great article. Wondering why you chose to use http module? Maybe explaing that express essentially is a wrapper, or incorporating https module might be a little more definitive. I'm sure the later parts will explain more! I'm always browsing for new boilerplate to handle demos so I appreciate the post!

Collapse
 
brianemilius profile image
Brian Emilius • Edited

Hi @isoloi 👋

That's a very good point you make. Yes, I chose the http module over the express native server functionality because of https or even http/2. The application I demonstrate is meant to handle scalability well, and in my opinion, this achieves it so far as the server is concerned.

I am planning a later series on deployment and the devOps aspects of running an Express application and this would be a great topic for one of the articles 😄