Portfolio architecture design alternatives

I’ve been meaning to make a portfolio using Node.js and express. The website will have static pages only like home, about, contact, projects, etc.


  1. Should i keep all the pages in the static directory of express app and serve them from there or,
  2. Keep only the index.html in the static directory and make separate routes for the other pages and serve them from there.

What will be the performance differences and which approach should I use?
Thank You !

1 Like

I’d like to have the answer too. This is so important. Thanks in advanced.

1 Like