In this tutorial (my first ever! how nervous 😮), I’ll show you how to set up a basic Node.js server exposing a User model stored in a MongoDB database through GraphQL.We’ll also throw some tests and auth tooling on top of that!
The beautiful tools we’ll be using in this tutorial
You’ll find the complete server on this public repo.
If you want to build it yourself along the way, create a new folder and type yarn init
or npm init
depending on what package manager you prefer to set up the project.
And speaking of packages, let’s start by installing all the dependencies we’ll need during this tutorial!
#jest #javascript #graphql #nodejs #mongodb