An open API service indexing awesome lists of open source software.

https://github.com/kumarayushkumar/graphqlapi

Graphql API crud operations
https://github.com/kumarayushkumar/graphqlapi

api apollo-client express express-graphql graphql nodejs reactjs

Last synced: about 2 months ago
JSON representation

Graphql API crud operations

Awesome Lists containing this project

README

          

# GraphqlAPI
Simple Graphql CRUD operations

## To add User
mutation {
addUser(emailId: "xyz@gmail.com", userName: "xyz", password: "zyx") {
userName
}
}

## To delete
mutation {
deleteUser(emailId: "xyzs@gmail.com") {
emailId
}
}

## To update
mutation {
updateUser(emailId: "xyz@gmail.com", newUserName: "new_xyz") {
userName
}
}

## To fetch
{
user(emailId: "xyz@gmail.com") {
userName
}
}