Coding Tutorial: Implement a GraphQL API on Top of an Existing REST API

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

TLDR Coding Tutorial: 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 in your app. 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. We'll start by installing Apollo-express, which is a package that allows us to use the existing app with Apollo Server.via the TL;DR App

no story

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