API development for an online store

DOI: 10.31673/2786-8362.2024.011010

Authors

  • О. М. Шикула, (Shykula O. M.) State University of Information and Communication Technologies, Kyiv
  • С. В. Білоусова, (Bilousova S. V.) State University of Information and Communication Technologies, Kyiv
  • О. С. Блєднов, (Blyednov O. S.) State University of Information and Communication Technologies, Kyiv
  • К. І. Бондаренко, (Bondarenko K. I.) State University of Information and Communication Technologies, Kyiv

DOI:

https://doi.org/10.31673/2786-8362.2024.011010

Abstract

The article examines contemporary approaches to developing online stores, with a primary focus on crafting APIs to ensure the effective operation of the store in the online realm. A survey of prevalent solutions and literature in the field has enabled the identification of key challenges and unresolved issues.
Through the analysis, it was discerned that many small online stores encounter speed and scaling issues attributed to non-optimized API development. The article underscores the significance of leveraging modern technologies, such as Node.js, JavaScript, and PostgreSQL, to streamline development and enhance productivity.
The article outlines the work's objective—creating an efficient API for an online store—and defines the research task. It elucidates the importance of utilizing Node.js, JavaScript, and other tools to secure endpoints with Guards, thereby improving system security and reliability.
In the Development Environment and Tooling section, a range of tools, including JavaScript, Node.js, Nest.js, PostgreSQL, Git, and WebStorm, are detailed for implementing the online store's API. Emphasis is placed on how these tools contribute to ensuring system reliability and speed. The adoption of the Nest.js framework is highlighted as pivotal in crafting a secure and efficient API for the online store. The incorporation of Guards effectively segregates controllers and provides robust protection for endpoints. Consequently, this integration has simplified the enhancement of the store's functionality, rendering it more reliable and flexible for future developments.

Keywords: online store, API, Nest.js, JavaScript, Node.js, PostgreSQL, Endpoints, Guards, JWT token, Security, Reliability.

Published

2024-04-30

Issue

Section

Articles