{"id":21125213,"url":"https://github.com/algokun/gatsby_contentful_starter","last_synced_at":"2025-07-10T20:32:33.570Z","repository":{"id":119607224,"uuid":"195563620","full_name":"algokun/gatsby_contentful_starter","owner":"algokun","description":"Kick off your next gatsby contentful project with this awesome starter 🚀.","archived":false,"fork":false,"pushed_at":"2023-06-10T00:08:13.000Z","size":826,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T07:37:38.259Z","etag":null,"topics":["gatsbyjs","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/algokun.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":"2019-07-06T17:01:29.000Z","updated_at":"2020-04-22T11:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5135f41e-dd3a-4b09-9c19-a2cab1d7aaa2","html_url":"https://github.com/algokun/gatsby_contentful_starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/algokun/gatsby_contentful_starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algokun%2Fgatsby_contentful_starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algokun%2Fgatsby_contentful_starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algokun%2Fgatsby_contentful_starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algokun%2Fgatsby_contentful_starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algokun","download_url":"https://codeload.github.com/algokun/gatsby_contentful_starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algokun%2Fgatsby_contentful_starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264652628,"owners_count":23644292,"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":["gatsbyjs","reactjs"],"created_at":"2024-11-20T04:22:14.863Z","updated_at":"2025-07-10T20:32:33.538Z","avatar_url":"https://github.com/algokun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg alt=\"Contentful\" title=\"Contentful\" src = \"https://user-images.githubusercontent.com/21126965/60759275-1314eb80-a040-11e9-8e75-ee8e1d75169a.png\" width = \"200\"\u003e \u003c/br\u003e\n    Gatsby Contentful Starter\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  A clean , minimal, and responsive starter for creating blogs uses \u003ca href=\"https://github.com/gatsbyjs/gatsby\" target=\"_blank\"\u003eGatsby\u003c/a\u003e.\n\u003c/h4\u003e\n\n## 🚀 Quick Start \n\n#### Create a Gatsby site\n\nUse the Gatsby CLI to create a new site and specify this starter\n\n```sh\n# Create a new Gatsby site using this starter\ngatsby new blog https://github.com/mohanmonu777/gatsby_contentful_starter\n```\n\n#### Start Developing\n\nNavigate into your new site’s directory and start it up.\n\n```sh\ncd blog\ngatsby develop\n```\n\n#### Open the source code and start editing!\n\nYour site is now running at `http://localhost:8000`!\n\nNote: You'll also see a second link: `http://localhost:8000/___graphql`. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql).\n\n#### Models \n\nIn this starter , i used `Article` model that defines the data of a single Article.\n\nIt contains the following fields\n+ title : The title of the Article\n+ description : Holds the description of Article\n+ slug : A 'slug' is the part that comes at the very end of a URL, and refers to a specific page.\n+ content: The Rich Text Document that holds the overall content of the Article\n+ tags : Ah boy! you know what it is! 😁\n\n#### Query\n\nwe use `graphql` to query data, you can find more about graphql [here](https://graphql.org/learn).\n\nRetrieves all the articles\n\n```\n    {\n        allContentfulArticle{\n          edges{\n            node{\n              title\n              slug\n              createdAt\n              tags\n            }\n          }\n        }\n    }\n```\n\nTo get single Article , based on a single field. In our case its `slug`\n\n```\nquery getContentBySlug($slug : String){\n\tcontentfulArticle(slug : {eq : $slug}){\n    content{\n      json\n    }\n  }\n}\n```\n\n## Deploy with Netlify\n\n[Netlify](https://netlify.com) CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:\n\n### A Quick Note\n\nBefore deploying your site go to `Setting \u003e Build \u0026 Deploy` in Netlify.The `.env` file we made for local work doesn’t get deployed,so add your environment variables there. Add your `spaceId` and `accessToken` with the same values as before. This helps you get rid of unwanted build failures.\n\n\u003ca href=\"https://app.netlify.com/start/deploy?repository=https://github.com/alxshelepenok/gatsby-starter-lumen\" target=\"_blank\"\u003e\u003cimg src=\"https://www.netlify.com/img/deploy/button.svg\" alt=\"Deploy to Netlify\"\u003e\u003c/a\u003e\n\nAfter clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.\n\n## Stay in touch\n\nI love to hear feedback.\n\n\u003ca href = \"http://facebook.com/sree.dhannu\" \u003e\u003cimg src=\"https://img.icons8.com/color/48/000000/facebook-new.png\"\u003e \u003c/a\u003e\n\u003ca href = \"https://twitter.com/_MrNullPointer\" \u003e\u003cimg src=\"https://img.icons8.com/color/48/000000/twitter.png\"\u003e \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgokun%2Fgatsby_contentful_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgokun%2Fgatsby_contentful_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgokun%2Fgatsby_contentful_starter/lists"}