{"id":15354985,"url":"https://github.com/capaj/node-rest-vs-graphql","last_synced_at":"2025-04-04T18:18:28.289Z","repository":{"id":44610719,"uuid":"455584987","full_name":"capaj/node-rest-vs-graphql","owner":"capaj","description":"comparison of two implementations of the same API using REST and Graphql","archived":false,"fork":false,"pushed_at":"2022-02-11T07:37:42.000Z","size":396,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T03:27:41.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capaj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-04T14:50:45.000Z","updated_at":"2024-07-11T19:10:21.000Z","dependencies_parsed_at":"2022-08-28T16:22:42.518Z","dependency_job_id":null,"html_url":"https://github.com/capaj/node-rest-vs-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/capaj%2Fnode-rest-vs-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fnode-rest-vs-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fnode-rest-vs-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Fnode-rest-vs-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capaj","download_url":"https://codeload.github.com/capaj/node-rest-vs-graphql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226191,"owners_count":20904467,"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":[],"created_at":"2024-10-01T12:21:58.846Z","updated_at":"2025-04-04T18:18:28.268Z","avatar_url":"https://github.com/capaj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-rest-vs-graphql\n\ncomparison of two implementations of the same dead simple CRUD API using REST and Graphql\n\nThis showcase was created mostly to refute misleading myths developers tell themselves about graphql having more overhead than REST.\n\nBoth branches have the same CRUD functionality over a single db table:\n\n- query for blogpost with filtering by from and to dates\n- query to fetch a single blogpost\n- mutation to create a new post, update existing one and delete a blogpost\n\nGraphql schema is built using typegraphql, but other frameworks are similar in verbosity.\nFor both we have a tool for playground+documentation: \n- in REST, we have swagger docs:\n![picture 1](images/a33d5b927105e24a9fb73b51ecd97c2c0c3243a53aea9beadaecfade7cae9fcb.png)\n\n - graphql has graphiql bundled with mercurius:\n![picture 1](images/7bd100537378974ff6331eb1f9ebfb3e759fb95e59724899c9594093c7d5c217.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Fnode-rest-vs-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapaj%2Fnode-rest-vs-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Fnode-rest-vs-graphql/lists"}