For the duration of Google Summer of Code 2020, I have been working on implmeneting a data synchronization engine via the graphback-datasync
package extending the Graphback project on Github, consequently, the code for the work product can be found in the same repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// eslint-disable-next-line @typescript-eslint/no-require-imports | |
require('dotenv').config() | |
import path from 'path' | |
import http from "http" | |
import { ApolloServer } from "apollo-server-express" | |
import { buildGraphbackAPI } from 'graphback' | |
import { loadSchemaSync } from '@graphql-tools/load' | |
import { GraphQLFileLoader } from '@graphql-tools/graphql-file-loader' | |
import { createDataSyncMongoDbProvider, createDataSyncCRUDService, DataSyncPlugin } from '@graphback/datasync' | |
// eslint-disable-next-line @typescript-eslint/tslint/config |