Coffee In Code Out Development, LLC

Week 3 of 30 Minute Project - 2015 1/12/15 - 1/18/15

January 12th, 2015

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/dc0e0d24176080883c6c8429a669a7373ebb2488
    
    Next steps:
  • Start on Angular front-end and see if we can get that bit working by end of week

Day 2 1/13/15 Today:

  • OK, time to start working on the angular app
  • Initial skeleton I have is OK, but the gulp build is extremely messy
  • Also, do I want to have angular-ui or stick with regular angular? I guess regular angular for now
  • Also, stick with bootstrap 3 for the moment, but foundation looks intriguing
  • OK, got a config file in place to manage all my vendor dependencies so that the gulp file is cleaner
  • Old build works again :) Next steps:
  • Now, to figure out how to easily inject the API URL into the angular app
  • More skeleton cleanup and see if we can start tying in the services to the api endpoints

Day 3 1/14/15 Today:

  • Now, to figure out how to easily inject the API URL into the angular app
    * In a previous app we did this using a Grunt plugin called ng-constant
    * https://github.com/guzart/gulp-ng-constant
    * Ok, sorta got that working
    
    Next steps:
  • More work on ng constants stuff to get that finished up in build
  • More skeleton cleanup and see if we can start tying in the services to the api endpoints

Day 4 1/15/15 Today:

  • More work on ng constants stuff to get that finished up in build
    * Hmm, appears that gulp-hg-constant won’t let me specify the file name to write to
    * See if there’s something else out there that will
    * Try this one - https://github.com/ajwhite/gulp-ng-config
    * FUCK!! Accidentally deleted my build file I’ve been working on. Fucking gone. Guess that’ll teach me not to commit each night. Dammit.
    * OK, got it back to where it was, glad I remembered what the hell I had changed the last couple of nights
    * But, still have the same problem it’s naming the output file whatever the name of the input file is - wth people? Seriously?
    * Hmm, that plugin doesn’t work for doing custom constants
    * gulp-hg-constant worked fine (well, except for not letting me name it afterwards)
    
    Next steps:
  • More skeleton cleanup and see if we can start tying in the services to the api endpoints

Day 5 - 6 1/16/15 - 1/17/15 Today:

  • SLACKER! Next steps:

Day 7 1/18/15 Today:

  • Where did we leave off? Oh, OK I have the general ng constants being created
  • But they aren’t being injected yet?
  • Yeah, need to do this before we do the scripts so it all gets bundled together properly
  • Also, should make sure it’s being injected properly into the app
  • OK, it is loading the module, but I’m missing something because it isn’t letting me use the constants I’ve defined :/ Next steps:
  • Figure out why my constants aren’t being loaded/injected properly, file is there, but it just isn’t working :/

Weekly Recap: Accomplishments:

  • Got 5 solid days of work done!
  • Wrapped up API implementation
  • Made some decent progress on angular front-end Next week’s goals:
  • Finish angular front-end work so I can start on iota stuff
`
Copyright © 2020 Coffee In Code Out Development, LLC
Find us on Facebook or Twitter