Git ignore

This commit is contained in:
Luis Fernando Molina committed 2018-09-03 15:36:53 +02:00
1 parent f47e08fdcb
commit 75feb94afc
2 files changed
+18 -4

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
client/node_modules/*
server/node_modules/*
+14 -4
View File
@@ -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 (
<div id="main">
<h1>Advanced Algos - Users Module</h1>
<UserList></UserList>
</div>
<ApolloProvider client={client}>
<div id="main">
<h1>Advanced Algos - Users Module</h1>
<UserList></UserList>
</div>
</ApolloProvider>
);
}
}