Skip to content

AbhishekRavi765/GraphQL-One

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-graphQL

GraphQL is a relatively new concept from Facebook that is billed as an alternative to REST for Web APIs

Readme GraphQL

//Post req is used for get in graphql because of query in body

#####################################################

POST: localhost:8080/addPerson

Body: [{ "id" : 11, "name" : "abhishehk", "mobile" : "9374809", "email" : "[email protected]", "address": [ "address1","address2","address3" ] }, { "id" : 21, "name" : "abhi", "mobile" : "12374809", "email" : "[email protected]", "address": [ "address11","address22","address33" ] }]

#####################################################

GET: localhost:8080/findAllPerson

#####################################################

POST: localhost:8080/getAll Body: { getAllPerson { name, email, address } }

#####################################################

POST: localhost:8080/getPersonByEmail Body:

{
	findPerson(email :"[email protected]"){
		name
	}	
}

#####################################################

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages