Created
October 3, 2017 20:02
-
-
Save Bensigo/b38edf579307bb30ab4c4d8fd69b194c 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
module.exports = ` | |
type User { | |
id: ID! | |
email: String! | |
username: String! | |
password: String! | |
createAt: String! | |
} | |
type Query { | |
hello : String! | |
} | |
type Mutation { | |
createUser(email: String!, username: String!, password: String!): User! | |
login(email: String!, password: String!): String! | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment