Angolans On Github — http://github.angodev.com

Get to know all the angolans on Github

Firmino Changani
Jul 23, 2017 · 2 min read

In 2017 there’s no reason to explain why open source is important. Get to know who lives in Angola and is interested in open source on Github.

I started to learn Vuejs because of a project that I’ve been working in my startup (http://paya.co.ao), and I wanted to try Vue on something else, then after a brainstorm with myself, I had the idea of use the Github API because I wasn’t on the mood to build an API just for testing purposes.

angolan-on-github, Why?

With all other funny things that I could build for studying why did I choose this project?

It’s easy to talk about open source initiatives from US, Europe, Brazil, or even South Africa because they have a strong and well developed community around programming and software development. In Angola we are just starting, although software development has been here for the last 20 years, I guess.

I wanted to build something that allow users on Github to quickly find and connect with another devs based in Angola.

While I was coding this project I was surprised by the number of people that I found.

The technical stuff

Enough with the boring stuff, to build this project I used vue-cli to generate a pre-configured project with Babel, LiveReload, ES Lint, Webpack and other packages. Basically I used the webpack template. I like to use the webpack because it brings everything you need to go without add unnecessary stuff.

I didn’t wanted to write a lot of css, so I used Bulma as a css framework. It allowed me to focus in the features with Javascript.

I used Github API Docs of course, and I do recommend you to check just to see what they allow you to do. There were features that just implemented after reading some cool stuffs that are available on their api.

Cool part

I needed to implement the load more feature, instead of render all the 240+ results after a single request. And also, it would take more time to get the results and consume unnecessary bandwidth.

When you search for users using Github API, it returns a total_count property with the number of results of the response. Knowing it, I did a little math operation to get the number of times that the user could click on load more to get other profiles.

Conclusion

I basically wrote this article to present the project. I don’t intend to extend it more. Go check the source code on Github it’s open source under MIT License, feel free to create issues and contribute, all the help is welcome. Thank you.

Firmino Changani

Written by

Always working on myself improvement

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade