{"id":13878665,"url":"https://github.com/awinabi/sinatra-graphql","last_synced_at":"2025-07-16T14:32:41.310Z","repository":{"id":40533293,"uuid":"122656772","full_name":"awinabi/sinatra-graphql","owner":"awinabi","description":"Step by step tutorial to write a graphql server in sinatra (ruby)","archived":false,"fork":false,"pushed_at":"2023-03-31T14:53:22.000Z","size":23,"stargazers_count":39,"open_issues_count":5,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-07T08:11:35.809Z","etag":null,"topics":["graphql","graphql-server","ruby","sinatra"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awinabi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-23T18:16:21.000Z","updated_at":"2023-09-25T08:31:22.000Z","dependencies_parsed_at":"2024-01-13T20:37:12.080Z","dependency_job_id":"542d0b34-ea1c-4134-afa9-c2da9538e08e","html_url":"https://github.com/awinabi/sinatra-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinabi%2Fsinatra-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinabi%2Fsinatra-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinabi%2Fsinatra-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awinabi%2Fsinatra-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awinabi","download_url":"https://codeload.github.com/awinabi/sinatra-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226138849,"owners_count":17579496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphql","graphql-server","ruby","sinatra"],"created_at":"2024-08-06T08:01:56.167Z","updated_at":"2024-11-24T07:31:13.575Z","avatar_url":"https://github.com/awinabi.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# GraphQL server with Sinatra (Ruby) #\n\nA step by step tutorial to write a graphql server in sinatra (ruby), using the [graphql](https://github.com/rmosolgo/graphql-ruby) gem.\n\n\n### Steps ###\n\n- STEP 1: Create a Sinatra application\n- STEP 2: Add JSON responses\n- STEP 3: Add database connections and models with ActiveRecord\n- STEP 4: Add graphql and define a query to list speakers\n- STEP 5: Adding a Mutation root type\n- STEP 6: Define a Mutation for speaker creation\n\n### Read more at Medium ###\n\nPart 1 - [Sinatra Setup and Querying](https://medium.com/hash32/graphql-server-with-sinatra-ruby-part-1-fdd664170715)\n\nPart 2 - [Mutations](https://medium.com/hash32/graphql-with-sinatra-ruby-part-2-mutations-d6903699af3e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawinabi%2Fsinatra-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawinabi%2Fsinatra-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawinabi%2Fsinatra-graphql/lists"}