What it does
CountriesNow provides open-source data of countries, their respective states, as well as cities within states. It also goes further to provide the location of countries and states by coordinates, flags of countries, country and dial codes, currencies, and a whole lot more. This eliminates the need to install yet another library into your application just for this data, thus increasing page load speed and reducing application build size.
How we built it
CountriesNow was built using Node.js and Express on the server-side. For proper documentation of API endpoints, I used the Open API specification and Swagger. The API was deployed to Heroku and a custom domain name was purchased on Hostinger. Cloudflare was used for SSL protection and optimization.
Challenges we ran into
One major challenge we ran into was updating the data source. Most of these data were curated from open source repositories where we have people working tirelessly to update the data every day. We need an efficient and less manual way of updating the data.
Accomplishments that we're proud of
CountriesNow repository was one of the top Hacktoberfest repositories, we had people contributing tirelessly to make it better. We also recorded a total of 244,451 Monthly requests and a total of 3GB of data served. We were also able to build open-source mini Jamstack applications using the CountriesNow API. We also recorded over 30 stars, 15 Forks, and 8 contributors on the CountriesNow repository. We have also recorded a 100% Average success rate and an average response time of 1.1kms.
What we learned
We learned how important data is to application development and all the processes involved in efficiently serving data to users and developers.
What's next for Countries Now
We intend to plug CountriesNow into other third-party data providing services like data-hub and increase the types of geoinformation served to developers and users.