Warner Onstine
Posts: 242
Nickname: warnero
Registered: Aug, 2003
|
Warner Onstine is Java programmer and writer of two tech books
|
|
|
|
Week 2 - 2015 1/04/15 - 1/11/15
|
Posted: Jan 12, 2015 10:56 PM
|
|
|
This post originated from an RSS feed registered with Java Buzz
by Warner Onstine.
|
Original Post: Week 2 - 2015 1/04/15 - 1/11/15
Feed Title: BlackBox
Feed URL: http://feeds.feedburner.com/Blackbox
Feed Description: Where technology and art disappear
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Warner Onstine
Latest Posts From BlackBox
|
|
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:
- Figure out what state I last left the tests in, was working on getting current user
- /user - gets current user that is logged in via that token
-
- 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
Next steps:
Day 6 1/10/2015
- /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
- 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
-
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
Read: Week 2 - 2015 1/04/15 - 1/11/15
|
|