Logo Lanfrica

Sonju/africa-mobile-subscribers

Domaine:

digital infrastructure

Type de record:

software
Créateur:
Son
Hôte:
API frameworks undefined ## Africa Mobile-Celluar Subscription API 2013 **Open source API framework using MEAN stack framework.** The Africa Mobile Subscription API is for businesses, governments, and civic institutions to filter by country African mobile subscription users (per 100 people). ###### Data Source: UNHCR ##### Technologies Used 1. MongoDB 2. Express 3. Node 4. Angular 5. Mapstarter.com 6. D3.js ##### Installation Go to GitHub and clone africa-mobile-subscribers repository 1. Connect to MongoDB. The author used Mongo Hub. 2. In terminal change into 'africa-mobile-subscribers' directory 3. In terminal run 'npm install' then 'npm start'. The server should connect. 4. Browse to localhost:3000 ##### Code HTTP API call ```javascript var africaApp = angular.module('africaApp', []); africaApp.controller('countriesController', function($scope, $http) { $scope.url = '/countries/api'; $scope.fetch = function() { $http.get($scope.url).success(function(data) { $scope.countries = data; console.log(data); }); } $scope.fetch(); }); ``` ##### Database table *Columns* Country | Value | Year --------|-------|----- Kenya | 71 | 2013 ##### Page Views background image open source: pixabay.com ##### 2.0 Iteration - Data map work in progress. - Include local mobile providers.

Licenses