{"id":18470984,"url":"https://github.com/moonhighway/moonhighway-cloud","last_synced_at":"2025-04-08T11:32:04.275Z","repository":{"id":40732548,"uuid":"216707208","full_name":"MoonHighway/moonhighway-cloud","owner":"MoonHighway","description":"A fake cloud for a real company.","archived":false,"fork":false,"pushed_at":"2023-03-04T04:59:51.000Z","size":1340,"stargazers_count":14,"open_issues_count":55,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T23:28:28.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MoonHighway.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":"2019-10-22T02:33:45.000Z","updated_at":"2022-10-14T10:50:53.000Z","dependencies_parsed_at":"2023-02-13T18:01:37.317Z","dependency_job_id":null,"html_url":"https://github.com/MoonHighway/moonhighway-cloud","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/MoonHighway%2Fmoonhighway-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Fmoonhighway-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Fmoonhighway-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonHighway%2Fmoonhighway-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoonHighway","download_url":"https://codeload.github.com/MoonHighway/moonhighway-cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223317839,"owners_count":17125605,"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-06T10:15:29.518Z","updated_at":"2024-11-06T10:15:30.120Z","avatar_url":"https://github.com/MoonHighway.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Cloud\n\nA sample cloud of examples built on Apollo Federation.\n\n![MH Cloud Diagram](https://github.com/MoonHighway/moonhighway-cloud/blob/master/MH_Cloud_Diagram.png)\n\n## Test Operations for the Hue Review\n\n### Create an Account or Login\n\n```graphql\n# Create or Authorize a User\n\nmutation authorize($email: String!, $password: String!) {\n  authorize(email: $email, password: $password) {\n    token\n    user {\n      name\n    }\n  }\n}\n\nmutation create($create: CreateUserForm!) {\n  createAccount(input: $create) {\n    token\n    user {\n      email\n      name\n    }\n  }\n}\n```\n\n#### Query Variables\n\n```json\n{\n  \"email\": \"biscuit@cats.com\",\n  \"password\": \"badPassword\",\n  \"create\": {\n    \"email\": \"jungle@cats.com\",\n    \"name\": \"Jungle Cat\",\n    \"password\": \"badPassword\"\n  }\n}\n```\n\n### Check you User Info\n\n```graphql\nquery myInfo {\n  me {\n    email\n    name\n    postedColors {\n      id\n      title\n      value\n      reviews {\n        advRating\n        reviews {\n          rating\n          comment\n        }\n      }\n    }\n  }\n}\n```\n\n#### Http Headers\n\n```json\n{\n  \"authorization\": \"Bearer \u003cTOKEN\u003e\"\n}\n```\n\n### Add Some Colors\n\n```graphql\nmutation add($title: String!, $value: String!) {\n  addColor(title: $title, value: $value) {\n    id\n    title\n    createdBy {\n      email\n      name\n    }\n  }\n}\n```\n\n```json\n{\n  \"title\": \"Grand\",\n  \"value\": \"#00FF00\"\n}\n```\n\n### List Some Colors\n\n```graphql\nquery allColors {\n  allColors {\n    id\n    title\n    value\n    createdBy {\n      name\n    }\n    reviews {\n      advRating\n      yourReview {\n        rating\n        comment\n      }\n      reviews {\n        rating\n        comment\n      }\n    }\n  }\n}\n```\n\n### Rate a Color a Color\n\n```graphql\nmutation rateColor($input: ReviewForm!) {\n  addReview(input: $input) {\n    id\n    rating\n    comment\n    color {\n      title\n      value\n    }\n    user {\n      email\n      name\n    }\n  }\n}\n```\n\n### Query Variables\n\n```json\n{\n  \"input\": {\n    \"itemID\": \"O6z9tliSS\",\n    \"rating\": 2,\n    \"comment\": \"This color isn't beautiful\"\n  }\n}\n```\n\n## Test Operations for Rowdy\n\n```graphql\n\n```\n\n```json\n\n```\n\n### Create an Account or Login\n\n```graphql\n\n```\n\n```json\n\n```\n\n### Check your User Info\n\n```graphql\n\n```\n\n```json\n\n```\n\n### Add some photos\n\n```graphql\n\n```\n\n```json\n\n```\n\n### List Some photos\n\n```graphql\n\n```\n\n```json\n\n```\n\n### Review a Photo\n\n```graphql\n\n```\n\n```json\n\n```\n\n### Check the Reviews\n\n```graphql\n\n```\n\n```json\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonhighway%2Fmoonhighway-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonhighway%2Fmoonhighway-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonhighway%2Fmoonhighway-cloud/lists"}