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
- Host: GitHub
- URL: https://github.com/kumarayushkumar/graphqlapi
- Owner: kumarayushkumar
- Created: 2023-01-25T09:40:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-03T11:03:05.000Z (almost 3 years ago)
- Last Synced: 2025-03-01T09:44:28.214Z (over 1 year ago)
- Topics: api, apollo-client, express, express-graphql, graphql, nodejs, reactjs
- Language: JavaScript
- Homepage:
- Size: 182 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
}