Before we jump into implementing GraphQL schema we need to setup database to save users and links, This is not supposed to be tutorial about databases in go but here is what we are going to do:

  • Setup MySQL
  • Create MySQL database
  • Define our models and create migrations

Setup MySQL

If you have docker you can run Mysql image from docker and use it.

Next Chapter

Create and Retrieve Links

Enable Users to create Links and see them

Go to next chapter