Coffee In Code Out Development, LLC

Week 4 of 30 Min Project - 2015 1/19/15 - 1/25/15

January 26th, 2015

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 :/
  • Sweet, now I have a semi-working app :P.
  • Next up
    • register
    • login
    • todos page
  • Let’s get register working properly
    * whoops, missed an api endpoint for creating a user :P
    * create a new endpoint for registering
    * POST /user ? - that makes sense, keep POST /users for admin functionality
    
    Next steps:
  • Finish register
  • Implement login
  • Start on todos front-end page
    • get todos
    • add todo
    • update todo - mark completed, edit the name

Day 2 1/20/2015 Today:

  • Register endpoint
    • What the hell? My post isn’t going anywhere, just keep getting a 400 back
    • Grr, getting "Bearer token required”. Why? I’m not dealing with auth on this?
    • Weird, take out the client auth stuff and it now gets to the route endpoint properly, odd
    • Basic endpoint works now :)
  • Wire this in to front-end Next steps:
  • Finish wiring in register to front-end
  • Make sure I can login
  • Start working on todo front-end interface

Day 3 1/21/2015 Today:

  • Finish wiring in register to front-end
    • OK, it’s calling to the service and inserting an empty user - WTF?
    • It might help if I actually sent the damn data :/
    • Done!
  • Login - works! Next steps:
  • Start working on todo front-end interface

Day 4 1/22/2015 Today:

  • Start working on todo front-end interface
    * Trying the resource path again to see if I can get that working properly for the todos endpoints
    * Got form put in and a list of todos, nothing fancy yet
    
    Next steps:
  • Add in methods to:
    • add todo
    • complete todo

Day 5 1/23/2015 Today:

  • Date Night interruptus :P Next steps:
  • Add in methods to:
    • add todo
    • complete todo

Day 6 1/24/2015 Today:

  • Add in methods on angular side to:
    * add todo
    * complete todo
        * Looks like there is no default method for PUT, which is what should be used for REST interfaces, need a custom method for update
        * Also, need to make sure that we use Auth headers when sending requests
        * http://blog.brunoscopelliti.com/authentication-to-a-restful-web-service-in-an-angularjs-web-app
        * and also need to override/add a new method for update
        * but still have a question about adding custom headers for each of the default methods
        * will try what I have and see if it works
    
    Next steps:
  • Finish wiring and test solution to see what’s left

Day 7 1/25/2015 Today:

  • SLACKER!

Weekly Recap: Accomplishments:

  • Got my user registration bit working and wired in to front-end
  • Got front-end build working correctly with different environment constants
  • Started wiring in todo management endpoints to front-end (but not completed) Next week’s goals:
  • I’m going to come back to this later, most of the skeleton pieces are done, just a few more things that need to be done
  • Time to start digging into Go as well as some Docker fun for iota
`
Copyright © 2020 Coffee In Code Out Development, LLC
Find us on Facebook or Twitter