Find slides here
This project assumes you have NodeJS v6 or greater installed. You should also have npm v3 or greater installed as well (this comes packaged with Node 6). You'll also need a recent version of git installed as well.
You may have come to this project from different varying sources. There are a different series of branches for each workshop/course I've done. To get started with the project, start with this:
- Sign up for a GitHub Account (if you don't already have one)
- Clone this repository
- In the directory you cloned the repository, run
npm run setup
If you need help with these steps, you might check out this free Egghead.io course which can help you get things going.
npm run setup script finishes without errors (don't worry about warnings) then you're
good to go. Otherwise, please file an issue.
There are two directories in this project that you should be interested in:
app: Where the unfinished tests are (where you should add your tests).
app-final: Where the finished tests are (where you can reference if you get stuck).
The tests in
app are actually all scaffolded for you. So your goal is to go through and write all the tests. Do this:
npm run watch:testwhich will start running the tests in watch mode, meaning that as you save your file, it will automatically re-run your tests so you can quickly see how you're doing.
- Choose a file in the
appdirectory that ends in
.test.jsand implement the tests by changing