Skip to content
← Back to Community
Creating a Web Server With Node.js
Profile icon
[deleted]

We already know how Node.js can be used for back-end programs, but what about for websites? In this tutorial, you'll see how we can use Node.js to display an HTML page and displaying information only accessible with Node.js. Enjoy!

Voters
Profile icon
icewolf4
Profile icon
crissolsen
Profile icon
fchinn
Profile icon
runtimerror
Comments
hotnewtop
Profile icon
runtimerror

nice but why not using express ?

Profile icon
[deleted]

Good idea, @runtimerror! I will try that.

Profile icon
runtimerror

Otherwise @SharpCodeDev, I think that making a nodejs server with only built-in-modules is very good because it shows a good understanding of the language, so well done !
Btw I didn't know the notice before.

Profile icon
[deleted]

@runtimerror LOL thanks. This was just a tutorial kind of thing in a real situation I probably would use express, though.

Profile icon
[deleted]

Plus Repl has boilerplate express code I just like to demonstrate this sort of thing.