Skip to content

portsoc/node101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node101

An intro to node.

Downloading

To download the code, either use git (the preferred option):

git clone https://github.com/portsoc/node101.git
cd node101

If at all possible, we recommend you use git to download code rather than zips of a repository. This is prefereable because if the repo is updated, then syncing those changes requires just one command (git pull) and usually any merging can be done automatically. Git is very powerful and we heartily encourages you to become familiar with it.

Alternatively you may download and unpack the zip which on linux can be achieved using

wget https://github.com/portsoc/node101/archive/master.zip
unzip master.zip
cd node101

Running Examples

Examples are placed in the examples folder for you to investigate, to run the hello world example (hw.js) you could type:

cd examples/1-hello-world
node hw

Running Tests

These are unit tests that you should attempt to complete. The difference with previous unit tests is that there is no browser – you can test everything from the command line by typing:

npm test

Inside test.js you will find helpful code that tells you what the tests expect.

About

tests for basic introduction to node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •