{"id":21089999,"url":"https://github.com/travelxml/disney-clone-using-graphcms-graphql-next-react","last_synced_at":"2026-04-10T12:04:27.814Z","repository":{"id":83407446,"uuid":"436683015","full_name":"TravelXML/DISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT","owner":"TravelXML","description":"Build DISNEY Clone  using GRAPHCMS, GRAPHQL, NEXT, REACT","archived":false,"fork":false,"pushed_at":"2021-12-09T18:10:47.000Z","size":658,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T10:41:42.113Z","etag":null,"topics":["clone-app","clone-coding","cloner","disney","disney-clone","gql","graphcms","graphcms-api","graphql","nextjs","react","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/TravelXML.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-09T16:20:39.000Z","updated_at":"2021-12-09T18:12:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f003ece9-0b65-4f38-b98e-ac5daf4a6d66","html_url":"https://github.com/TravelXML/DISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/TravelXML/DISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FDISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FDISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FDISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FDISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TravelXML","download_url":"https://codeload.github.com/TravelXML/DISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FDISNEY-CLONE-USING-GRAPHCMS-GRAPHQL-NEXT-REACT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clone-app","clone-coding","cloner","disney","disney-clone","gql","graphcms","graphcms-api","graphql","nextjs","react","reactjs"],"created_at":"2024-11-19T21:33:18.707Z","updated_at":"2026-04-10T12:04:27.779Z","avatar_url":"https://github.com/TravelXML.png","language":"JavaScript","readme":"# DISNEY CLONE USING GRAPHCMS GRAPHQL NEXT REACT\n![DISNEY CLONE USING GRAPHCMS GRAPHQL NEXT REACT](https://user-images.githubusercontent.com/8361967/145450003-b4eadf7e-58c3-49a9-ba72-ba593673ec7b.jpg)\n\n## Build DISNEY Clone using GRAPHCMS, GRAPHQL, NEXT, REACT\n\n### Steps to Follow to accomplish this project\n* Build Assets, Contents, Schemas on GRAPHCMS.\n* Get GraphQL endpoint and token, set permissions for all requests.\n* Build GQL queries.\n* Run them on the playground.\n* Start frontend app  with React \u0026 Next App.\n* Install required packages like `graphql-request`.\n* Access the data from GraphQl API and build the app.\n* Test the app on a running Server.\n\n**Let's dive into the steps:**\n\n\n### Add assets\nFirst, you need to create your GraphCMS Account then create Assets, Schemas and Contents and their relationships.\n\n![image](https://user-images.githubusercontent.com/8361967/145436231-6fa3ce18-430a-4ff0-9139-9d68e009ccbe.png)\n\n### Playground\n\nOnce you are done with Schema and relation building, build  GQL queries for data fetching and mutation.\n\n### Example: \n\n### Below one to fetch all videos with specific details.\n\n            query {\n                  videos {\n                    createdAt,\n                    id,\n                    title,\n                    description,\n                    seen,\n                    slug,\n                    tags,\n                    thumbnail {\n                      url\n                    },\n                    mp4 {\n                      url\n                    }\n                  }\n                }\n                \n### Fetch Specific Video by unique id\n\n            query{\n              videos(where: { id:\"ckwyfg18o096k0c05j5bw1bl5\"}){\n                createdAt,\n                id,\n                title,\n                description,\n                slug,\n                tags,\n                thubnail{\n                  url\n                },\n                mp4{\n                  url\n                }\n              }\n            }\n                \n### Fetch Account Details\n\n            query {\n                account(where: { id: \"ckwyfc4t4096b0c184nqkh2zq\"}) { \n                  username\n                  avatar {\n                    url\n                  }\n                }\n              }\n\nFor more reference you can have a look into the image below.\n\n![image](https://user-images.githubusercontent.com/8361967/145438884-1f4948a7-a786-4881-99bb-88b6a6e6adec.png)\n\n\n\n### Add a .env file\n\nAfter the assets are loaded, add a .env file in root folder with the following:\n\n![image](https://user-images.githubusercontent.com/8361967/145437044-5a64ddd8-1a5f-475f-962a-b40e0d4626b8.png)\n\n    GRAPH_CMS_TOKEN={your_token}\n\n    ENDPOINT={your_endpoint}\n\n![image](https://user-images.githubusercontent.com/8361967/145436729-8ea993df-e10a-4bce-92af-e8043269a405.png)\n \n\n\n### Run the command below to install the packages.\n\n    npm i\n\n\n### Run the development server:\n\n    npm run dev\n \n \n  ![image](https://user-images.githubusercontent.com/8361967/145437311-7926b265-6fb9-406d-9b40-cad5e5508c4a.png)  \n \n\n\n \nOpen http://localhost:3000 with your browser to see the result.\n\n![image](https://user-images.githubusercontent.com/8361967/145438318-62b43392-7844-492e-a9e2-4fd683fc4329.png)\n\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n\n**Enjoy Coding!**\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravelxml%2Fdisney-clone-using-graphcms-graphql-next-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravelxml%2Fdisney-clone-using-graphcms-graphql-next-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravelxml%2Fdisney-clone-using-graphcms-graphql-next-react/lists"}