IMPLEMENTATION OF GRAPHQL API FOR FETCHING DATA OF NEW YORK TIMES DOCUMENTS

Authors

  • Aleksandra Urban Fakultet Tehnickih Nauka Autor

DOI:

https://doi.org/10.24867/18BE28Urban

Keywords:

New York Times documents, REST, GraphQL, case studies

Abstract

This paper describes and presents a system for acquiring data regarding New York Times articles using a GraphQL API. Firstly a REST API was implemented which gets New York Times article data from their official database and stores them in our system, which are then made available to users using a GraphQL API. In this paper multiple differences between REST and GraphQL are presented as well as their respectable pros and cons. Many GraphQL use cases were discussed and many case studies over the before mentioned subject were analyzed.

References

[1] Schema Definition Language https://graphql.org/learn/schema/
[2] Representational State Transfer https://www.ibm.com/cloud/learn/rest-apis
[3] GraphQL vs REST https://blog.api.rakuten.net/graphql-vs-rest/
[4] GraphQL Case studies https://www.graphql.com/case-studies/
[5] Facebook case study https://engineering.fb.com/2015/09/14/core-data/graphql-a-data-query-language/
[6] GitHub case study https://github.blog/2016-09-14-the-github-graphql-api/
[7] Artsy case study https://artsy.github.io/blog/2016/11/02/improving-page-speed-with-graphql/
[8] Walmart case study https://medium.com/walmartglobaltech/open-sourcing-lacinia-our-graphql-library-for-clojure-96a4ce5fc7b8
[9] Spring Boot GraphQL Starter https://docs.spring.io/spring-graphql/docs/1.0.0-M5/reference/html/

Published

2022-07-09

Issue

Section

Electrotechnical and Computer Engineering