Giter Site home page Giter Site logo

lekoarts / gatsby-source-behance Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 4.0 79 KB

Gatsby source plugin for loading information from Behance

Home Page: https://behance-example.netlify.com/

License: MIT License

JavaScript 100.00%
behance gatsby-source-behance gatsby gatsby-plugin gatsby-source

gatsby-source-behance's Introduction

Hi, I'm Lennart ๐Ÿ‘‹

I'm a product-focused full stack engineer with years of experience in leading large-scale open source projects and shipping high-quality work to millions of users. Adept at building delightful, inclusive, and well-documented solutions to customers' needs.

Currently I'm working at Clerk. Previously I worked at Netlify and Gatsby.

I enjoy working on open source projects & making the web more inclusive through them. My OSS code has been used by thousands of people & I regularly share educational content in the form of posts, presentations, and videos.

You can also find me on Twitter at @lekoarts_de or on Mastodon at mastodon.social/@lekoarts.

gatsby-source-behance's People

Contributors

lekoarts avatar s3b4s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gatsby-source-behance's Issues

Cannot query field "allBehanceProjects"

Hi, i'm in a fresh gatsby site created with the cli "gatsby new", i installed the plugin and added to de gatsby-config file, no error when runing "gatsby develop" but the GraphiQL inspector says that the query doesn't exist:

config file

module.exports = {
	siteMetadata: {
		title: `Gatsby Default Starter`,
		description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
		author: `@gatsbyjs`
	},
	plugins: [
		{
			resolve: `gatsby-source-behance`,
			options: {
				// Visit your profile and grab the name after behance.net/<< username >>
				username: 'penhold3r',
				// You can get your API Key here: https://www.behance.net/dev/register
				apiKey: '********************************************'
			}
		},
		`gatsby-plugin-react-helmet`,
		{
			resolve: `gatsby-source-filesystem`,
			options: {
				name: `images`,
				path: `${__dirname}/src/images`
			}
		},
		`gatsby-transformer-sharp`,
		`gatsby-plugin-sharp`,
		{
			resolve: `gatsby-plugin-manifest`,
			options: {
				name: `gatsby-starter-default`,
				short_name: `starter`,
				start_url: `/`,
				background_color: `#663399`,
				theme_color: `#663399`,
				display: `minimal-ui`,
				icon: `src/images/gatsby-icon.png` // This path is relative to the root of the site.
			}
		}
		// this (optional) plugin enables Progressive Web App + Offline functionality
		// To learn more, visit: https://gatsby.dev/offline
		// `gatsby-plugin-offline`,
	]
}

GraphiQL response

{
  allBehanceProjects {
    edges {
      node {
        name
      }
    }
  }
}
{
  "errors": [
    {
      "message": "Cannot query field \"allBehanceProjects\" on type \"Query\".",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "stack": [
        "GraphQLError: Cannot query field \"allBehanceProjects\" on type \"Query\".",
        "    at Object.Field (C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\graphql\\validation\\rules\\FieldsOnCorrectType.js:64:31)",
        "    at Object.enter (C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\graphql\\language\\visitor.js:332:29)",
        "    at Object.enter (C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\graphql\\language\\visitor.js:383:25)",
        "    at visit (C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\graphql\\language\\visitor.js:250:26)",
        "    at validate (C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\graphql\\validation\\validate.js:63:22)",
        "    at C:\\Users\\PH\\Documents\\WEB\\www\\penholder-gatsby\\node_modules\\express-graphql\\dist\\index.js:154:52",
        "    at process._tickCallback (internal/process/next_tick.js:68:7)"
      ]
    }
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.