August 21st — 25th
Coding Period
Back to school this week! Since I was starting school and winding down, I didn’t work on the project very much this week.
Monday, August 21st
The only real changes I made to SynBioHub today were some design/layout changes. Specifically, I changed the spacing around the name of the site on instances where no logo has been defined to make it look a little better. (b19deed)
I also began preparing my work product (this blog) by linking all of the times that I mention features or code that I wrote to GitHub commits and pull requests.
Wednesday, August 23rd
I spent more time on my work product today, as well as began preparing an abstract for presenting SynBioHub at the COMBINE conference this October.
Friday, August 25th
For the last day in the coding period, I worked together with one of my mentors, Chris Myers, and the developer of SBOLDesigner, Michael Zhang, to add API support for private graphs. Because API authentication currently distributes a user token on authentication, we added another request middleware to our Express.js setup so that if a user token was included in the header, that user object was attached to the request. Next, we updated all of the API functions so that if there was an authenticated user on the request, the API action (SBOL, metadata, or count retrieval) would operate on their private graph as well as the public graph. We then updated libSBOLj to save and send the user’s token on authentication. In just about an hour, we had added access to a user’s private graph to the SynBioHub HTTP API. (488476b)

