Make API available to non logged in users
Currently we as frontend developers want to consume JSON data. Using the API seems like a great option but we cannot (for example) grab a list of milestones for a public repository because a non logged in user does not have a gon.api_token
. Non logged in users should be able to access public repo information. Public users of the app should also have a token so as not to offer all data for free.