Building Application Programming Interface (API) for Nigerian States Using Modern JavaScript Techniques

Authors

  • Ismail Aliyu Author
  • Ismail Isyaku Author
  • Maryam Maishanu Author

Keywords:

RESTful API Software Reusability Web Application Development NoSQL Database Digital Infrastructure Nigeria

Abstract

Software development encompasses a wide range of activities aimed at producing 
computer programs with functionalities that effectively address user requirements. In 
contemporary software engineering, these functionalities are often implemented either 
from scratch or through the reuse of existing components via libraries and Application 
Programming Interfaces (APIs). APIs play a critical role in modern software ecosystems 
by enabling seamless communication between software systems, promoting 
interoperability, modularity, scalability, and rapid application development. Developing 
web-based applications that rely on information about Nigerian states—such as 
demographic, administrative, and geographical data—currently requires developers to 
manually search for data from multiple sources and hardcode such information into 
applications. This approach is not only time-consuming but also prone to data inaccuracies, 
inconsistencies, and maintenance challenges, particularly when updates are required. The 
absence of a centralized, reliable, and programmatically accessible data source for 
Nigerian state-level information represents a significant gap in the country’s digital 
infrastructure. To address this challenge, this paper presents the design and 
implementation of a RESTful API for Nigerian states using modern JavaScript-based 
technologies. The API is developed with Node.js and the Express.js framework for server
side logic, Mongoose Object Data Modeling (ODM) for schema management, and 
MongoDB—a NoSQL database well-suited for handling semi-structured and evolving 
datasets. The system delivers requested information in JavaScript Object Notation 
(JSON) format, ensuring ease of integration with a wide range of web and mobile 
applications. Experimental integration of the proposed API with web-based applications 
demonstrates seamless data retrieval with minimal computational overhead, validating its 
efficiency and usability. Beyond its technical contribution, the study highlights the need 
for institutional support to ensure data accuracy, sustainability, and long-term 
maintenance. Collaboration with relevant government agencies, such as the National 
Information Technology Development Agency (NITDA), is recommended to 
institutionalize the API. Such an initiative would significantly enhance the productivity of 
local software developers, foster innovation, and project Nigeria as a digitally compliant 
and globally competitive nation.

Downloads

Download data is not yet available.

Downloads

Published

2026-01-13

How to Cite

Building Application Programming Interface (API) for Nigerian States Using Modern JavaScript Techniques . (2026). Journal of Pure and Applied Sciences (Science Forum), 25(4). https://atbuscienceforum.com.ng/index.php/jpas/article/view/239

Similar Articles

31-40 of 203

You may also start an advanced similarity search for this article.