From 75feb94afca6bfe617cb300bdef107b96f51226a Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 3 Sep 2018 15:36:53 +0200 Subject: [PATCH] Git ignore --- .gitignore | 4 ++++ client/src/App.js | 18 ++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .gitignore 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 ( -
-

Advanced Algos - Users Module

- -
+ +
+

Advanced Algos - Users Module

+ +
+
); } }