Adding Goth to our project

This is part of a series. It is not suited for beginners, but they are welcome too! You can check out the other parts here:

And review how to get up to this part. …


This piece is part of a series. It’s not suited to beginners but you can check it out from the start with part 1

You can review how to get up to this part.

As always, the code is in GitHub.

Today we’ll add GORM and a database to our…


In this piece, we’ll add gqlgen’s generated server into our project and start gqling away! And, we are going to move much faster than in part 1.

Adding gqlgen Into the Project

Now, we can use gqlgen to initialize our server’s gqlgen generated files: go run github.com/99designs/gqlgen init

This will initialize the gqlgen server. We…


Project setup and initial steps

Let’s make an opinionated GraphQL server using the Gin-gonic web framework, Goth for OAuth2 connections, GORM as DB ORM, and GQLGen for building GraphQL servers.

This project assumes you have at least basic Go knowledge, Go 1.12+ installed, and VSCode (preferred) or similar IDE.

Project Setup

We’ll follow the Go standard project…

Christian Melgarejo

Developer, developer, developer!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store