Skip to content

haritianaadriano/graphql-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphql VS REST

Introduction

In this project you'll see some difference with graphql and rest api, this functionality and how each of us work.

Some Details

Graphql

- This api give you a more flexibility to work
- Is not overfetching
- Is in a single endpoint

Spring boot has already his framework for graphql, for example if you initialize with spring initializer. For more documentation, spring has many documentation of it and many tuto too. - This is an example of graphql in json format

REST

- Powerfull
- Standard api
- Use the http verb to communicate with the client
- This is an example of rest in json format

Dependance

Before you install this project check that you have the same database that the project use or confihure it. Sure that you have a last version of chrome.

About

🍃👽Simple projet to try how graphql work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages