How To Connect GraphQL On Top of Existing REST API

Written by thawkin3 | Published 2021/02/05
Tech Story Tags: graphql | apollo | graphql-api | javascript | web-development | programming | heroku | rest-api

TLDR How To Connect GraphQL On Top of Existing REST API in your app? You're about to find out! In this article we'll explore what it takes to implement a GraphQL API on top of an existing REST API. This strategy allows you to start using GraphQL in legacy portions of your app without breaking any existing contracts with functionality that may still rely on the original REST API. The frontend is implemented in vanilla JS and uses the browser's built-in Fetch API to make API requests. The app is hosted on Heroku to make deployment and monitoring a breeze.via the TL;DR App

no story

Written by thawkin3 | Senior software engineer. Continuous learner. Educator.
Published by HackerNoon on 2021/02/05