Aug 03, 2018


Blog Categories

Categories

Blog Categories

Getting Started with FaunaDB using Go

This is the first in a series of short videos, each (hopefully) less than 10 minutes. These videos are introductions to FaunaDB, specifically how to interact with it using the Fauna Query Language (FQL) through the Go driver. Fauna supports many drivers including Java, JavaScript, Python, C#, and Go. I chose Go for its easy to read syntax and its strong typing. While not strictly required, understanding the types used when interacting with FaunaDB makes the FQL easier to follow.

In this first video we simply connect to FaunaDB and create a database. Following videos will build upon this to show basic data modelling and CRUD activities.

This series has three prerequisites:

  1. An account at fauna.com. This will give you access to the FaunaDB Cloud. Alternatively, you can use the developer version of Fauna.
  2. Local install of Go.
  3. The FaunaDB Go driver. Installation instructions and more information on the driver are available here: https://github.com/fauna/faunadb-go

As you go through these videos, please feel free to provide feedback and any other specific functionalities you would like to have demonstrated using this approach.