Week 2 - 2015 1/04/15 - 1/11/15

Decided to do things a little bit differently and publish this as a weekly update kind of thing instead of each day as I didn’t like all the posts separated (and a few too many IMO). This week I’ll try and do one post for the whole week and update it as I go along.

This week:
  • Get more tests working
  • See if we can get started on the web side of the project

Day 1 - 3 1/4/15 - 1/7/15
Complete Slacker :/

Day 4 1/8/15
Today:
Next steps:
  • OK, what is next?
    • Add a new todo api endpoint
    • Mark a todo as completed
    • All with tests now that auth is working

Day 5 1/9/15
Today:
  • Nothing :/
Next steps:
  • Same as day before :P

Day 6 1/10/2015
Today:
  • /todos
    • POST /todos - add a new todo
      • Hmm, got the initial test to run OK
      • Added in the clear collection call to the _clearDatabase function
      • Now it fails to clear everything before actually trying to insert stuff :/
      • Need to figure this bit out first before continuing on since it’s kinda necessary
    • GET /todos - get all uncompleted todos
    • GET /todos/:id - get a specific todo
    • PUT /todos/:id - update a todo
      • should allow to complete or update description/title of todo
Next steps:
  • Figure out why the gulp file isn’t calling things in the right order

Day 7 - 1/11/2015
Today:
  • Figure out why the gulp file isn’t calling things in the right order
    • So clear-test-data never finishes before tests get started, why?
    • OK, I was making clear-test-data as a dependency of setup-test-data as well as calling it from clean-populate
    • I got rid of this dependency and now it’s working!
  • GET /todos - get all uncompleted todos
    • need some sample data to retrieve
    • cool, got that working!
  • GET /todos/:id - get a specific todo
    • got this working
Next steps:
  • PUT /todos/:id - update a todo
    • should allow to complete or update description/title of todo


Weekly Recap:
Accomplishments:
  • Got /user working
  • Got POST /todos working
  • Got GET /todos working
  • Started on GET /todos/:id

Next week’s goals:
  • Get PUT /todos/:id working
  • Start on web