Commit 7442632a authored by Ajay R's avatar Ajay R

Removed unwanted files

parent 266d9fcc
// api/schema.js
const { gql } = require('apollo-server');
const typeDefs = gql`
type User {
id: ID!
name: String!
email: String!
}
type Query {
users: [User]
}
type Mutation {
createUser(input: UserInput!): User
}
input UserInput {
name: String!
email: String!
}
`;
module.exports = typeDefs;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment