User Tools

Site Tools


nodejs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
nodejs [2022/01/20 01:34] – updated with image peteyboynodejs [2022/01/20 01:39] – fix image attribution peteyboy
Line 19: Line 19:
         console.log(`Server running at http://${hostname}:${port}/`);         console.log(`Server running at http://${hostname}:${port}/`);
         });</code>          });</code> 
-  - run the server with ''node app.js'' (the ampersand backgrounds the job so you can type other commands at shell)+  - run the server with ''node app.js''
   - check it out with a browser pointed to your metaarray website but at your UID port, for example ''http://me.sdf.org:30099''   - check it out with a browser pointed to your metaarray website but at your UID port, for example ''http://me.sdf.org:30099''
-    * it should look like {{:screen_shot_hello_node.png?400|browser showing helloworld!}} +    * it should look like {{:screen_shot_hello_node.png?400|browser showing 'Hello Worldthis is node'}} 
   - quit the server with ''ctl-c''   - quit the server with ''ctl-c''