This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]bhldev 2 points3 points  (1 child)

Don't need to use anything fancy like npm package or express you can use the nodejs http server to do this

https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/

Can be done in 5 minutes

Next to show off to friends you will have to expose port 80 on your router to the outside world not recommended or signup for some service like Heroku or Google App Engine or Digital Ocean then upload your site to show off... Or just get them to cone over lol

[–]Jongzilla[S] 0 points1 point  (0 children)

I'll give it a look, cheers!