Learn You The Node.js For Much Win! An intro to Node.js via a set of self-guided workshops.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
An intro to Node.js via a set of self-guided workshops.
learnyounode is a Node.js package that contains a series of workshop lessons which will teach you the basics of writing Node.js applications. The lessons start with a basic "HELLO WORLD" lesson, and then move on to more advanced exercises about dealing with synchronous & asynchronous I/O, filesystem operations, TCP and HTTP networking, events and streams.
npm install -g learnyounode(this installs the learnyounode Node.js package globally). If this step fails, try one of the following fixes:
sudo npm install -g learnyounode
or - fix your npm permissions.
Test that learnyounode has been installed successfully by running the command
learnyounodein your terminal. This will start the learnyounode application, and you should see a blue screen similar to the one in the screenshot above.
sudo apt-get install nodejs-legacy
learnyounode(you should see a blue screen similar to the one in the screenshot above).
learnyounode verifycommand will now be set to verify any script that you pass into it with the expected output of the lesson that you selected (in the case of the "HELLO WORLD" lesson, the command
learnyounode verifywill now check that the script file you pass in satisfies the expected outcomes of the "HELLO WORLD" lesson by making sure the script prints the text "HELLO WORLD" to stdout).
learnyounode verify program.js(note: if you named your script file something other than "program.js", replace "program.js" with the correct filename). If your solution is not correct, you will see a FAIL message along with some information about why your solution didn't pass the tests. In the case of a FAIL message, rework your solution until running the verify command passes. If your solution passes the tests, you should see a "PASS" message. Congratulations! :)
Once you have finished
learnyounode, graduate to
stream-adventure for a set of exercises that dig in to Node's streams.
learnyounode is proudly brought to you by the following hackers:
|Lucas F. da Costa||GitHub/lucasfcosta|
|Do Minh Hai||GitHub/dominhhai||Twitter/@minhhai3b|
|Phung Van Tu||GitHub/minatu2d||Twitter/@minatu2d|
learnyounode is Copyright (c) 2013-2015 learnyounode contributors (listed above) and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.