CFP last date
20 August 2026
Reseach Article

Architecture and Security of a Flask-based IoT Environmental Telemetry API with JWT Authentication and a Django eCommerce Platform for Climate Resilience Applications

by Chinonso Job, Festus Chijioke Onwe
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 120
Year of Publication: 2026
Authors: Chinonso Job, Festus Chijioke Onwe
10.5120/ijca41c0737a5766

Chinonso Job, Festus Chijioke Onwe . Architecture and Security of a Flask-based IoT Environmental Telemetry API with JWT Authentication and a Django eCommerce Platform for Climate Resilience Applications. International Journal of Computer Applications. 187, 120 ( Jun 2026), 41-46. DOI=10.5120/ijca41c0737a5766

@article{ 10.5120/ijca41c0737a5766,
author = { Chinonso Job, Festus Chijioke Onwe },
title = { Architecture and Security of a Flask-based IoT Environmental Telemetry API with JWT Authentication and a Django eCommerce Platform for Climate Resilience Applications },
journal = { International Journal of Computer Applications },
issue_date = { Jun 2026 },
volume = { 187 },
number = { 120 },
month = { Jun },
year = { 2026 },
issn = { 0975-8887 },
pages = { 41-46 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number120/architecture-and-security-of-a-flask-based-iot-environmental-telemetry-api-with-jwt-authentication-and-a-django-ecommerce-platform-for-climate-resilience-applications/ },
doi = { 10.5120/ijca41c0737a5766 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2026-07-01T03:10:10.273348+05:30
%A Chinonso Job
%A Festus Chijioke Onwe
%T Architecture and Security of a Flask-based IoT Environmental Telemetry API with JWT Authentication and a Django eCommerce Platform for Climate Resilience Applications
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 120
%P 41-46
%D 2026
%I Foundation of Computer Science (FCS), NY, USA
Abstract

The intersection of IoT environmental monitoring and web-based commercial platforms presents distinct software architecture challenges, including real-time data ingestion, secure multi-user access control, and scalable subscription management. This paper presents the architecture, implementation, and security evaluation of two integrated software artefacts developed for BlueWave Solutions, a climate-tech company deploying solar-powered IoT desalination buoys: a Flask-based RESTful API that ingests, stores, and serves real-time environmental telemetry (salinity, pH, pollutant concentration) secured with JSON Web Token (JWT) authentication, and a Django-based eCommerce platform supporting desalination-unit sales and data-subscription management, integrated with the API through a shared JWT issuance mechanism. Beyond the original architecture specification, this revised version substantially extends the analysis: it adds a STRIDE-based threat-category mapping, a full database schema with explicit 3NF justification per entity, an expanded security-test breakdown disaggregated by attack vector, and a structured comparison against three recently published IoT-microservice security architectures. Testing results from Pytest unit tests and Postman integration tests, comprising 22 functional test cases and 34 security-specific assertions across four attack-vector categories, are reported and discussed in detail, all achieving a 100% pass rate. The system is deployed on AWS EC2 with MySQL RDS, and the paper concludes with an elaborated discussion of future scope, including JWT refresh-token rotation, managed-secrets migration, and load-balancer-enforced HTTPS.

References
  1. I. Sommerville, Software Engineering, 10th ed. Boston: Pearson, 2016.
  2. R. Elmasri and S. B. Navathe, Fundamentals of Database Systems, 7th ed. Boston: Pearson, 2016.
  3. K. Beck, Test-Driven Development: By Example. Boston: Addison-Wesley, 2003.
  4. K. Schwaber and J. Sutherland, The Scrum Guide, 2020. [Online]. Available: https://scrumguides.org/
  5. G. Booch, J. Rumbaugh, and I. Jacobson, The Unified Modeling Language User Guide, 2nd ed. Boston: Addison-Wesley, 2005.
  6. M. Cohn, User Stories Applied. Boston: Addison-Wesley, 2004.
  7. S. W. Ambler, Agile Modeling. New York: Wiley, 2002.
  8. K. S. Rubin, Essential Scrum. Boston: Addison-Wesley, 2012.
  9. M. Jones, J. Bradley, and N. Sakimura, "JSON Web Token (JWT)," RFC 7519, Internet Engineering Task Force, May 2015.
  10. A. Shostack, Threat Modeling: Designing for Security. Indianapolis: Wiley, 2014.
  11. D. Hardt, Ed., "The OAuth 2.0 Authorization Framework," RFC 6749, Internet Engineering Task Force, Oct. 2012.
  12. R. T. Fielding, "Architectural Styles and the Design of Network-based Software Architectures," Ph.D. dissertation, Univ. of California, Irvine, 2000.
  13. P. K. Gkonis et al., "Relevant Cybersecurity Aspects of IoT Microservices Architectures Deployed over Next-Generation Mobile Networks," Sensors, vol. 23, no. 6, 3037, 2023, doi: 10.3390/s23063037.
  14. A. Bhattacharjya et al., "Migrating from Microservices to Serverless: An IoT Platform Case Study," arXiv preprint arXiv:2210.04212, 2022.
  15. M. Waseem et al., "Exploring the Potential of Microservices in Internet of Things: A Systematic Review of Security and Prospects," J. Syst. Softw., 2024.
Index Terms

Computer Science
Information Sciences

Keywords

Flask API Django IoT JWT authentication REST API environmental telemetry OpenAPI Swagger eCommerce AWS security climate technology STRIDE threat modelling