Welcome to Eugene Code Camp. The purpose of this site is to share coding meet up opportunities in the Eugene, Oregon area, and coding resources. All are welcome. Please refer to the Contributing and Code of Conduct documents for more information about participating in this repo.
This site is an ongoing project, currently being built in Vue.js, using Nuxt.js and Boostratp-vue, styled using the Freelancer Theme from Start-Bootstrap.
$ npm install
$ npm run dev
$ npm run build
$ npm run start
$ npm run generate
$ npm run lint
$ npm run lintfix
For detailed explanation on how things work, check out Nuxt.js docs.
For funsies, this site has an associated headless WordPress stack which serves as an API for REST or GraphQL.
The resources are labeled with tags for categorization, and feature these five pieces of data for each resource:
resource_url
title
termSlugs(taxonomies: TAG)
/ tags
> slug
resource_description
slug
Sample GraphQL query to pull all available resources
query MyQuery {
resources {
edges {
node {
resource_description
resource_url
slug
title
}
}
}
}
Sample GraphQL query to pull alld available resources and their associated tags
query MyQuery {
resources {
edges {
node {
resource_description
resource_url
slug
title
termSlugs(taxonomies: TAG)
}
}
}
}
Sample GraphQL query to pull all available tags for resources
query MyQuery {
resources {
edges {
node {
tags {
edges {
node {
slug
}
}
}
}
}
}
}
Sample GraphQL query to pull all available resources for a specific tag html
query MyQuery {
resources {
edges {
node {
tags(where: {slug: "html"}) {
edges {
node {
resources {
nodes {
resource_description
resource_url
slug
title
}
}
}
}
}
}
}
}
}