I am have been exploring Graph-DBs and wanted to try a graph structure in a relational DB. Not trivial!
This code can be found at: https://github.com/btihen-dev/flintstones_api
Getting Started bin/rails new flintstones_api --api cd flintstones_api bin/rails g scaffold Person first_name last_name given_last_name gender bin/rails g model PersonRelationships role_one role_two \ person_one:references person_two:references Let’s update the migration to make the first & last name required as well as gender