Abstract

Graph-QL (Query Language) is a new concept in the Application Programming Interface (API). Graph-QL was developed by Facebook which is implemented on the server-side. Although it is a query language, Graph-QL is not directly related to the database, in other words, Graph-QL is not limited to certain databases, either SQL or NoSQL. The position of Graph-QL is on the client and server-side that access an API. One of the objectives of developing this query language is to facilitate data communication between the backend and frontend / mobile applications. For this reason, this paper will examine the responsibility of Graph-QL in terms of response time and response size in the development of an integrated competency certification test system based on web service and compared with efficiency and flexibility using the REST API. From the test results, it was found that Graph-QL provided some advantages compare to REST API. It give more flexibility for the clients to access the data and solve the most typical problem that was over or under fetching cause by fixed data given by REST API endpoints.

Highlights

  • Graph-QL is a server-side query and runtime language for Application Programming Interfaces (API) that prioritizes giving clients data exactly what they request [1]

  • The research began by building an integrated system of competency tests input the data into the database. This system will be built with 2 concepts in the API, Graph-QL and REST [15], the data will be used as output requests f rom clients, test and comparing the performance of each API concept that has been built using the characteristics of QoS (Quality of Service)

  • From the results of the research conducted and explained, REST and Graph-QL can be implemented in the competency test information system

Read more

Summary

Introduction

Graph-QL is a server-side query and runtime language for Application Programming Interfaces (API) that prioritizes giving clients data exactly what they request [1]. Graph-QL can specify to the API how the data is presented to the client. It is designed to make APIs faster, more f lexible and developer f riendly [3]. As a REST alternative, Graph-QL allows developers to make requests that pull data from multiple data sources in a single APIs endpoint [4]. To prove that Graph-QL has a f airly good responsibility, this paper is implemented in the manufacture and testing of an integrated competency certification test system, and compared using the REST API [6]

Methods
Discussion
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call