Skip to content

Instantly share code, notes, and snippets.

View meuschke's full-sized avatar
💻
#opentowork

Toni Meuschke meuschke

💻
#opentowork
  • Berlin
View GitHub Profile

Wie baue ich eine React App mit Node.js Auth

Einleitung

Hier findet ihr eine Zusammenfassung der Vorlesungen + Prüfungsvorbereitung. Diese beschriebt wie man eine Node.js API sowie eine React APP zur Aufgaben (Todo APP) Erstellung entwickelt.

@meuschke
meuschke / source-shopify.js
Created January 25, 2019 18:21
Source Plugin Gridsome GraphQL
const http = new HttpLink({ uri: "https://${shopName}/api/graphql", fetch });
const link = setContext((request, previousContext) => ({
headers: {
"X-Shopify-Storefront-Access-Token": "${accessToken}",
}
})).concat(http);
api.loadSource(async store => {