Week 5 Progress Report
Integration Test
We documented an integration test performed on 2/18/2023. In the 5 minute video, I describe the bugs we encountered and how we fixed them to have a succesful integration test. The test was performed with all group members watching a shared screen and discussing possible solutions, though the audio has been replaced with my abbreviated narration.
Devlog Videos
This week, I also created a few extra videos documenting my coding process. There is no narration, only music and 4000% speed coding. The music is from John Williams - Spanish Guitar Music, which is an album that helps me get in the zone while coding. It is used here under Fair Use - Educational; these videos are not monetized.
ExtractPath video
The first video is the implementation of “ExtractPath” which extracts a domain and sub-path from a url string. I struggled with Golangs regex library for a little while, but I got it in the end.
Initialize Page, Get Comments video
The second video is code to initialize a Page object and populate it with comments from the database. I had to think about how to transform database rows into Server-Client communication entities.
New Comments video
The third video is the implementation of the newComment pipeline, which allows a user to post a new comment.
Comment Votes video
The fourth video is the implementation of the commentVotes pipeline, allowing users to vote on comments, but not moving the counter more than 1 point in either direction for each category.