An open API service indexing awesome lists of open source software.

https://github.com/enterprizesoftware/gridsome-source-greenhouse

Greenhouse source for Gridsome
https://github.com/enterprizesoftware/gridsome-source-greenhouse

greenhouse gridsome gridsome-plugin static-site-generator

Last synced: 5 months ago
JSON representation

Greenhouse source for Gridsome

Awesome Lists containing this project

README

          

# gridsome-source-greenhouse
> Greenhouse Source for Gridsome

Retrieves all of your Greenhouse jobs and details so you can present them in your Gridsome site.

## Install

- `npm install gridsome-source-greenhouse`

## Usage
Add the plugin to `gridsome.config.js`

``` javascript
export default {
plugins: [
{
use: 'gridsome-source-greenhouse',
options: {
boardToken: 'companyname', // Greenhouse board token
}
}
]
}
```

### Content Type Names

- `GreenhouseJobs` - Content from the list jobs API
- `GreenhouseJobDetails` - Content from the retrieve job API

### Example query
``` graphql

query GreenhouseJobDetails {
jobDetails: allGreenhouseJobDetails {
edges {
node {
title
content
}
}
}
}

```

### Example usage
``` html



{{ edge.node.title }}



{{ edge.node.content }}


```