This is all the material for the Wix NodeJS Workshop, first conducted on the 6th of March, 2016.
- Install Node v5 (currently v5.8.0)
- Install git
$ git clone https://github.com/wix/node-workshop.git
$ cd node-workshop
$ npm install
(this takes a while)- To test your setup, run
$ npm test
. This will test all the code that is used in the workshop, including the solved exercises
If you prefer another IDE (IntelliJ/Eclipse/WebStore), or just want to use Notepad/Vim/Emacs, feel free to do so. But if you don't know which one you want, then we would recommend Visual Studio Code.
- Install Visual Studio Code
- Install "typings":
$ npm install -g typings
- Install Intellisense for Node:
$ typings install node express --ambient
This repository has 3 parts:
- Tutorial: this includes fully functioning (and tested!) programs that demonstrate all the things we learn about. This is exactly the code that will be shown by the instructor in the first half of the workshop.
- Exercises: this is the part where you get to write code. See below for more information on the exercises.
- Solved Exercises: this contains the same exercise as in the previous part, but "solved" and runnable. This is reference information in case you really really can't figure it out.
- Can be found in the exercises folder.
- Should be read carefully. You don't need to read them all at once, but the introduction is important, and the per-exercise information can be read before each exercise.