Q: 14
A developer wants to set up a secure web server with Node.js. The developer creates a
directory locally called app-server, and the first file is app-server/index.js
Without using any third-party libraries, what should the developer add to index.js to create the
secure web server?
Options
Discussion
D or C? I usually go with http for a basic server, so D felt right but not sure if that's secure out of the box. Maybe C for TLS if it’s about security. Someone clarify if I'm missing something.
D imo
Be respectful. No spam.