Skip to main content

Tutorial

This tutorial serves as a deeper-dive into Graphiti development, building an Employee Directory application. We purposefully built this to illustrate common - but non-trivial - scenarios present in many applications.

You'll need Ruby 3.2+ and Rails 7.1+ installed. Step 0 starts from an empty directory, so nothing else is assumed.

A core concept of Graphiti is Test-First - the most pleasant way to develop Graphiti is by starting with an integration test. But that can add a lot of noise to a tutorial like this. Though we'll occasionally touch on testing - and the git diffs at the top of each section contain the necessary tests - we won't test first for the purposes of this tutorial.

Server Side: Rails

Rails Sample Application

Client Side: VueJS (diff-only)

VueJS Sample Application