Skip to content

node graphql firestore api tutorial

Kamau.Brian edited this page Feb 22, 2019 · 11 revisions

Introduction

This tutorial tries to elaborate, "How to create a graphQL-API with node js".

Grapqhl is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. Documentation for the same can be found here

Prerequisites

We shall use the following resources for the purposes of this tutorial. It would be helpful if you are conversant with them.

This is a node-js based tutorial and therefore prior knowledge of it is helpful 😊

Getting Started ✊

We need to setup a node project using node's package manager, therefore create a directory and cd into it.

* mkdir node-graphql-tutorial

* cd node-graphql-tutorial

* then run npm init

Clone this wiki locally