Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Heyhey! I heard a lot about GraphQL before, but I'm not quite sure what it is. Is it similar to Neo4j?


Hey! That's actually a pretty common misconception people have about GraphQL when they first hear about it - however, GraphQL definitely is not a Graph database (as is Neo4j). In fact, it's not even a database technology, despite sharing the same suffix with SQL!

GraphQL is a query language for APIs - so, the closest you could get is to say that GraphQL is an API technology! It defines a specific request/response-format for client-server communication that's extremely flexible, simple and efficient. GraphQL is also independent of the transport protocol that's used (though mostly that's HTTP today).

If you have a good idea about what an API is, you can read the second chapter of "How to GraphQL" where we highlight technical differences between GraphQL & REST: https://www.howtographql.com/basics/1-graphql-is-the-better-...


Some of the introductory material in the resource will fill you in on what GraphQL is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: