Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 2.19 KB

lab-4.md

File metadata and controls

69 lines (51 loc) · 2.19 KB

Lab 4

Your Objective

Complete this tutorial

Tutorial Expected Objective

  • Review node modules
    • node module syntax (require/export)
    • npm package manager install
  • Create package.json
    • read package.json
    • npm install from package and adding dependency
    • npm test
    • npm run [script]
  • Continue with our git repo.
  • How to write unit tests using mocha BDD.
  • Start an express server.
  • Send a request to the server with jQuery
  • Google your way

After this tutorial you should have build a very simple To-DO list tested restful app.

Requires

  • Internet
  • Google chrome
  • A plain text editor (preferably sublime)
  • mongodb
  • nodejs
  • git
  • A github account
  • npm packges mocha, chai, superagent? Istanbul

Pre

Tutorial Guide

  • Complete building the restful app in the pre lab test

  • Push your work as a github rep and send a link to your TA on your slack group

    • If you're still not on slack you did not fill this form
    • You should have a slack group per lab for communicating with each other and the TA as a tutorial.
  • Once you setup your rep and send it to your TA while you do your work you will be sent some issues on github to do (you will understand later). otherwise just proceed.

  • Learn about testing

    • you keywords are mocha testing instanbul tutorial.
  • Test the app you should have completed in the pre test.

  • Work on your assignment.

  • Have enriching philosophical discussions with your TA on life and ant logic, or octocats.

Post Tutorial