Web Dev Ramblings

Warner Onstine

Web development and other thoughts.

Week 4 - 2015 1/19/15 - 1/25/15

This week: Finish up Angular front-end Day 1 1/19/2015 Today: Figure out why my constants aren’t being loaded/injected properly, file is there, but it just isn’t working :/ http://mindthecode.com/how-to-use-environment-variables-in-your-a...

Week 3 - 2015 1/12/15 - 1/18/15

This week: Finish up API endpoints Start on web/angular side of project Day 1 1/12/15 Today: PUT /todos/:id - update a todo OK, got this working with a basic test https://github.com/warnero/node-todo-api/commit/dc0e0d24176080883c6c8429a66...

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...

Day 13 of 30 Min Project 12/27/14

Missed Days 10 - 12 due to Christmas and family stuff (12/24 - 12/26) Today: Figure out why convict isn’t respecting my env variable for PORT so that everything runs right OK, one weird thing is that the settings file appears to get loaded bef...

Day 9 of 30 Min Project 12/23/14

Tonight: Figure out why the startup isn’t happening on time now Clearly I’m misunderstanding gulp flow a bit here as there are some things that aren’t happening in the right order with my new setup test data and clear test data OK, got things w...

Week 1 of 30 Min Project 12/22/14

Made some decent progress last week. Got 6/7 days done, not bad for the first week. Hoping to be able to keep this up over our holiday break, which might be a bit tricky some days, but hoping to make up any time by doing extra (like today). Once I...

Day 7/8 of 30 Min Project 12/22/14

Missed yesterday due to friends being in town and prepping for our annual holiday trip. Tonight: gulp mocha isn’t finishing properly. I know I handled this somewhere :P ahh, using exit and pipe the results to it Hmm, test is timing out now :/ ...

Day 6 of 30 Min Project 12/20/14

Tonight: So, said last night that here’s what I needed to do: Get redis config stuff figured out Apparently convict really doesn’t like empty json variables like options: {} Get first test to actually fail as it should because we’re tryin...

Day 5 of 30 Min Project 12/19/14

Tonight: So, said last night that here’s what I needed to do: Get at least one test written and running (not necessarily passing, but running) We have a few controllers/endpoints we need to test /token - gets a valid token for a logged in u...

Day 4 of 30 Min Project 12/18/14

Uggh, not really feeling it tonight, but here goes :P. Tonight: So, said last night that here’s what I needed to do: time to start creating some tests! Use tests to drive the api bits forward for things Start writing the controllers for todos ...