{"id":18497216,"url":"https://github.com/mrbooi/react-hooks-apollo-graphql","last_synced_at":"2025-07-08T18:32:31.007Z","repository":{"id":39977984,"uuid":"256817329","full_name":"MrBooi/react-hooks-Apollo-graphql","owner":"MrBooi","description":"Small Applications that use react-hooks with Apollo and graphql with Rest API","archived":false,"fork":false,"pushed_at":"2022-12-12T12:44:54.000Z","size":1252,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T04:36:55.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://frozen-thicket-53665.herokuapp.com/","language":"JavaScript","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/MrBooi.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}},"created_at":"2020-04-18T17:50:19.000Z","updated_at":"2020-04-19T19:01:14.000Z","dependencies_parsed_at":"2023-01-27T19:31:46.420Z","dependency_job_id":null,"html_url":"https://github.com/MrBooi/react-hooks-Apollo-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrBooi/react-hooks-Apollo-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBooi%2Freact-hooks-Apollo-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBooi%2Freact-hooks-Apollo-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBooi%2Freact-hooks-Apollo-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBooi%2Freact-hooks-Apollo-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrBooi","download_url":"https://codeload.github.com/MrBooi/react-hooks-Apollo-graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrBooi%2Freact-hooks-Apollo-graphql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324028,"owners_count":23590791,"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-11-06T13:33:53.332Z","updated_at":"2025-07-08T18:32:30.985Z","avatar_url":"https://github.com/MrBooi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chuck Norris Jokes App\nThis is a single Page App builtwith react and chucknorris api which generated a random joke for a selected categorie.\n\n\nThis App is Structured into two parts It have Server side and client side.\n\nServer:\n\n1. It have Apollo GraphQL API\n2. GraphQL API wraps [ChuckNorris.io](https://api.chucknorris.io/) API\n3. GraphQL API have a Query type that resolves all Categories ([https://api.chucknorris.io/jokes/categories](https://api.chucknorris.io/jokes/categories))\n4. GraphQL API have a Query type that resolves a random joke given a Category as an argument ([https://api.chucknorris.io/jokes/random?category={category}](https://api.chucknorris.io/jokes/random?category=%7Bcategory%7D))\n\nClient:\n\n1.  Is a Single Page App (SPA) \n2.  SPA consume the above GraphQL API \n3.  SPA have a home page with a list of categories \n4. When a category is clicked, the category detail (a random joke) is displayed\n\n\n### How this App now your locally:\n\n``Start graphql server(localhost:8000): npm run server ``\n\\\n``Start client server(localhost:3000): npm run start``\n\n`` To run both server and client server(localhost:3000): npn run dev ``\n\n`` To run Test : npn run test``\n\n#### App Demo: \n\n[Chuck Norris App](https://frozen-thicket-53665.herokuapp.com) \n\n### SandBox Project link:\n\n[SandBox Profile link](https://codesandbox.io/u/MrBooi)\n\n[SandBox link](https://lc3cq.sse.codesandbox.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrbooi%2Freact-hooks-apollo-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrbooi%2Freact-hooks-apollo-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrbooi%2Freact-hooks-apollo-graphql/lists"}