mutation {
createProject(
data: {
user: "username"
name: "project name"
isPublic: true
description: "description"
projectJson: "project json!!"
}
) {
_id
}
}
mutation {
updateProject(
id: "id"
data: {
user: "username"
name: "pranav"
isPublic: true
description: "description"
projectJson: "{projectjson}"
}
) {
_id
}
}
mutation {
deleteProject(id: "id") {
_id
}
}
query {
findProjectByID(
id:""
){
name
user
}
}