Skip to content

Commit

Permalink
Replaces GraphQL server and data models
Browse files Browse the repository at this point in the history
  • Loading branch information
André Mendes committed Feb 15, 2023
1 parent 8860a4f commit 11f9271
Show file tree
Hide file tree
Showing 4 changed files with 4,534 additions and 21 deletions.
4 changes: 3 additions & 1 deletion apollo-client.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { ApolloClient, InMemoryCache } from "@apollo/client";

const API_URL = 'https://api.spacex.land/graphql/';
const API_URL = 'https://spacex-production.up.railway.app/';

const client = new ApolloClient({
uri: API_URL,
cache: new InMemoryCache(),
});

console.log(client);

export default client;
Loading

0 comments on commit 11f9271

Please sign in to comment.