diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..f583223f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +client/node_modules/* +server/node_modules/* + diff --git a/client/src/App.js b/client/src/App.js index 325e47d9d..0d3f9066e 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -1,16 +1,26 @@ import React, { Component } from 'react'; +import ApolloClient from 'apollo-boost'; +import {ApolloProvider} from 'react-apollo'; // Components import UserList from './components/UserList'; +// Apollo Client Setup + +const client = new ApolloClient({ + uri:'http://localhost:4000/graphql' +}) + class App extends Component { render() { return ( -