Which modules is better to web service, http+https ? express?

Now I’m making a new Web service with Node.js. and using ‘https’ module mainly and ‘http’ module to only redirect http requests to https URL. then should I remake it with ‘express’ module? when I search how-to, a lot of information about express will hit and ones about https are a little. so I thought that most people use express. then what is different between making with https+http and with express?
I’m not a native English speaker and part of studying so my English may not be correct but please forgive me about it.
waiting for answers.

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with express. I have moved your topic to #community:javascript)

1 Like

ok, thank you for your kindness.

I’m not sure if I get the point but Express is a really good option for creating web servers in Node.js, for many people is THE web server framework. Now, http and https are another story and it’s independent of which tool you are using for your server/API. The only relevant difference is that you may need to provide some certificate file or credentials when creating the conextion (as in here).

Hope this helps.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.