Skip to content

Instantly share code, notes, and snippets.

@ilgooz
ilgooz / static-index.html
Last active February 10, 2019 20:52
MESG Live Coding Session - Subscription App
<strong>Welcome</strong>
@export-mike
export-mike / dropDataGraphCool.js
Created July 19, 2017 13:07
A utility Script for cleaning out tables in graphcool
require('dotenv').config();
const { GraphQLClient } = require('graphql-request');
const client = new GraphQLClient(process.env.ENDPOINT, { headers: {
'Authorization': `Bearer ${process.env.ACCESS_TOKEN}`
}});
const query = T => `
query Get${T}s {
all${T}s {
id