Skip to content

Instantly share code, notes, and snippets.

View OutThisLife's full-sized avatar
🏠
Working from home

brooklyn! OutThisLife

🏠
Working from home
View GitHub Profile
import { ApolloServer } from 'apollo-server-express'
import * as express from 'express'
import { IResolvers } from 'graphql-tools'
import * as LRU from 'lru-cache'
import typeDefs, { Context } from './types'
const router = express.Router()
const resolvers: IResolvers<{}, Context> = {
import { spawn } from 'child_process'
import * as express from 'express'
import * as LRU from 'lru-cache'
const app = express()
const cache = LRU({
max: 152,
maxAge: 36e2
})
import withData from '@/lib/withData'
import { ApolloClient } from 'apollo-boost'
import App, { AppProps, Container } from 'next/app'
import { ApolloProvider } from 'react-apollo'
export default withData(
class extends App<MyAppProps> {
public static async getInitialProps({ Component, ...ctx }) {
let pageProps = {}
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[Metadata]
Name=ForexFactoryCalendar
Author=Talasan Nicholson
Version=0.1