Closed
Description
- Version: master
- Subsystem: docs
Based on nodejs/help#1049 raised by @the-wazz
doc/api/synopsis.md contains the following text:
To run the server, put the code into a file called
example.js
and execute
it with Node.js:$ node example.js Server running at http://127.0.0.1:3000/
Many of the examples in the documentation can be run similarly.
It would be good if this section could assume less knowledge on the part of the reader.
Useful resources
- Vague doc help#1049 goes into some detail about the things that may be unclear
- https://stackoverflow.com/questions/6737824/how-to-run-a-hello-js-file-in-node-js-on-windows has a good breakdown
- The first and second sections of the Rust Book also cover a lot of the same ground.
If anyone would like to pick this up feel free.