The past couple of weeks I decided to tackle GraphQL, a query language. In following along with NetNinja’s example, I built an app that displays authors and books and gives visitors the ability to add new authors and books.
- MongoDB Atlas
What I learned
- GraphQL is an awesome tool that, if set up properly, can make your life a lot easier and make your app run a lot smoother + faster.
- You can accomplish the same outcome of GraphQL by serializing your data with a relational database like PostgreSQL
- The magic of GraphQL is more of an illusion → a lot of upfront work needs to be done in the GraphQL server.
- I enjoy the GraphQL convention
Would I use GraphQL again?
Definitely. I really enjoyed building this app. I think GraphQL in combination with MongoDB are a great pair.