]> git.cworth.org Git - empires-server/commit
Add Hello World node app
authorCarl Worth <cworth@cworth.org>
Sun, 26 Apr 2020 21:55:34 +0000 (14:55 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 26 Apr 2020 21:55:34 +0000 (14:55 -0700)
commitb9fb42c9d426e28a6b4c626160309b43b2e6b52a
tree433c934845c168bbed8510493fec24d990d39187
parentd076937c4c567b1cb64dbc6b65594a8d1cc57e17
Add Hello World node app

This is similar to what is documented here:

https://medium.com/@adnanrahic/hello-world-app-with-node-js-and-express-c1eb7cfa8a30

but with some more modern content as recommended by Richard.

This can be run with:

node server

in the current directory, (and then pointing a user agent at localhost:3000).
server.js [new file with mode: 0644]