Guest User

Untitled

a guest
Aug 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import { ApolloServer } from 'apollo-server';
  2.  
  3. const server = new ApolloServer({
  4. schema: newSchema
  5. });
  6. server.listen().then(({ url }) => {
  7. console.log(`Server running at ${url}`);
  8. }).catch((err) => {
  9. console.error(err);
  10. });
Add Comment
Please, Sign In to add comment