<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN"
  "https://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:mml="http://www.w3.org/1998/Math/MathML"
         article-type="research-article"
         dtd-version="1.2">

  <!-- ============================================================ FRONT -->
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">IJLTEMAS</journal-id>
      <journal-title-group>
        <journal-title>International Journal of Latest Technology in Engineering, Management &amp; Applied Science (IJLTEMAS)</journal-title>
        <abbrev-journal-title abbrev-type="publisher">IJLTEMAS</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2278-2540</issn>
      <publisher>
        <publisher-name>IJLTEMAS</publisher-name>
      </publisher>
    </journal-meta>

    <article-meta>
      <!-- IDs -->
      <article-id pub-id-type="publisher-id">26</article-id>
            <article-id pub-id-type="doi">10.51583/IJLTEMAS.2026.150700021</article-id>
      
      <!-- Categories -->
            <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Architecture and Security</subject>
        </subj-group>
      </article-categories>
      
      <!-- Title -->
      <title-group>
        <article-title>Architecture and Security Design of a Dual-Service Iot Telemetry and Ecommerce Platform: A Flask–Django Case Study with JWT Authentication and Layered Test Automation</article-title>
      </title-group>

      <!-- Authors -->
      <contrib-group>
                <contrib contrib-type="author">
                    <name>
            <surname>Samuel Abafu</surname>
            <given-names>Nwokpuru</given-names>
          </name>
                              <aff>
            Department of Computing, Software Engineering, university of greater manchester                        <country>Nigeria</country>
                      </aff>
                    
        </contrib>
                <contrib contrib-type="author">
                    <name>
            <surname>Job</surname>
            <given-names>Chinonso</given-names>
          </name>
                              <aff>
            Department of Computer Science, University of greater Manchester, United Kingdom.                        <country>Nigeria</country>
                      </aff>
                    
        </contrib>
                <contrib contrib-type="author">
                    <name>
            <surname>Festus Chijioke</surname>
            <given-names>Onwe,</given-names>
          </name>
                              <aff>
            Information Technology Department, University of Port Harcourt, Rivers State, Nigeria.                        <country>Nigeria</country>
                      </aff>
                    
        </contrib>
              </contrib-group>

      <!-- Volume / Issue / Pages -->
            <volume>15</volume>
                  <issue>7</issue>
                        <fpage>262</fpage>
            <lpage>267</lpage>
            
      <!-- Dates -->
      <history>
                <date date-type="received">
          <day>12</day>
          <month>07</month>
          <year>2026</year>
        </date>
                        <date date-type="accepted">
          <day>17</day>
          <month>07</month>
          <year>2026</year>
        </date>
              </history>

            <pub-date pub-type="epub">
        <day>06</day>
        <month>08</month>
        <year>2026</year>
      </pub-date>
      
      <!-- DOI Self-URI -->
            <self-uri xlink:href="https://doi.org/10.51583/IJLTEMAS.2026.150700021"/>
      
      <!-- Keywords -->
            <kwd-group kwd-group-type="author">
                <kwd>Software architecture</kwd>
                <kwd>REST API design</kwd>
                <kwd>JWT authentication</kwd>
                <kwd>microservices</kwd>
                <kwd>Flask</kwd>
                <kwd>Django</kwd>
                <kwd>database migration</kwd>
                <kwd>IoT telemetry systems</kwd>
              </kwd-group>
      
    </article-meta>
  </front>

  <!-- ============================================================ BODY (Abstract) -->
  <body>
        <sec>
      <title>Abstract</title>
      <p>This paper documents the architecture, security design, and database evolution of a two-tier system built to support an environmental-telemetry and micro-desalination business scenario, comprising a Flask REST API for Internet of Things (IoT) buoy telemetry ingestion and a Django eCommerce platform for product sales and subscription management. We describe the system’s modular separation of concerns (a stateless, JWT-secured ingestion API decoupled from a session-oriented commerce platform), the specific security controls applied at each layer (JWT-based stateless authentication for the API; Django’s built-in Cross-Site Request Forgery and SQL-injection middleware for the platform), and the database migration from SQLite to MySQL undertaken specifically in response to a measured concurrency limitation under bulk telemetry ingestion. We report the integration mechanism connecting the two otherwise loosely coupled services (token-based cross-service authentication and shared schema conventions) and the specific coordination overhead this integration introduced. We position the architecture against established microservice design literature and REST architectural-style principles, and we provide a candid account of which design decisions are well supported by that literature and which represent pragmatic compromises specific to a timeand resource-constrained development context, together with the concrete changes (CI/CD pipeline integration, containerisation, formal load testing) that would be required before the architecture could be considered production-ready rather than a validated prototype.</p>
    </sec>
      </body>

  <!-- ============================================================ BACK (References) -->
    <back>
    <ref-list>
      <title>References</title>
            <ref id="ref1">
        <label>1</label>
        <mixed-citation>R. T. Fielding, “Architectural styles and the design of network-based software architectures,” Ph.D. dissertation, University of California, Irvine, 2000.</mixed-citation>
      </ref>
            <ref id="ref2">
        <label>2</label>
        <mixed-citation>S. Newman, Building Microservices: Designing Fine-Grained Systems. Sebastopol, CA: O’Reilly Media, 2015.</mixed-citation>
      </ref>
            <ref id="ref3">
        <label>3</label>
        <mixed-citation>M. Jones, J. Bradley, and N. Sakimura, “RFC 7519: JSON web token (JWT),” Internet Engineering Task Force (IETF), 2015.</mixed-citation>
      </ref>
            <ref id="ref4">
        <label>4</label>
        <mixed-citation>Django Software Foundation, “Django security documentation: Cross site request forgery protection,” https://docs.djangoproject.com/en/stable/ref/ csrf/, 2024.</mixed-citation>
      </ref>
            <ref id="ref5">
        <label>5</label>
        <mixed-citation>OWASP Foundation, “OWASP top ten 2021,” https://owasp.org/Top10/, 2021.</mixed-citation>
      </ref>
            <ref id="ref6">
        <label>6</label>
        <mixed-citation>M. Stonebraker, “SQL databases v. NoSQL databases,” Communications of the ACM, vol. 53, no. 4, pp. 10–11, 2010.</mixed-citation>
      </ref>
            <ref id="ref7">
        <label>7</label>
        <mixed-citation>M. Fawzy, A. Tahir, M. Galster et al., “Exploring data management challenges and solutions in agile software development: A literature review and practitioner survey,” Empirical Software Engineering, vol. 30, p. 106, 2025.</mixed-citation>
      </ref>
            <ref id="ref8">
        <label>8</label>
        <mixed-citation>OpenAPI Initiative, “OpenAPI specification v3.1.0,” https://spec. openapis.org/oas/v3.1.0, 2021.</mixed-citation>
      </ref>
            <ref id="ref9">
        <label>9</label>
        <mixed-citation>M. Widenius and D. Axmark, MySQL Reference Manual. Sebastopol, CA: O’Reilly Media, 2002.</mixed-citation>
      </ref>
          </ref-list>
  </back>
  
</article>
