Bright and early on day two, we focused on fetching post and author information over the REST API. We populated our APP with posts, avatars, and author names. Ryan then gave a thorough breakdown of the OAuth protocol, and their new OAuth abstraction layer; The OAuth Broker. Building this into our project, we had a blog viewer, which allowed users to log in to their site.
Day three was all about writing data over the API. First, we created new posts, then we added some custom endpoints to enable a like feature in the APP.
By the end of the week, I went from having no React experience and little REST API experience, to building a functional live blogging APP. An APP that could connect to any REST API enabled WordPress blog and enable users to log in, post, and like others’ posts.
The week wrapped up with a three-course meal and a lively party, complete with a cocktail bar and casino games (I’ve never seen so many $100 bills, even if they were fake).
Complementing the teaching, the location and organisation were spot on. Nothing is more RESTful than a cottage by a lake, and the food was delicious.