-
-
Save SaraVieira/773bd09fe10e94883259c7d3e818ced5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { ApolloServer, gql } = require('apollo-server'); | |
const randomId = require("random-id"); | |
const movies = [ | |
{ | |
id: randomId(10), | |
title: 'Sharknado', | |
year: 2013, | |
}, | |
{ | |
id: randomId(10), | |
title: 'Troll 2', | |
year: 1990, | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment