I have been a software engineer for a year now, and work daily with our API. As a learning exercise, I thought it would be interesting to go through the process of building a small API, because learning by doing is something I believe in.

When retraining to become a software engineer with Flatiron school, we were using / building REST APIs. At work, we use GraphQL and I really like it. So the first question I asked myself was: should I build a REST API or use GraphQL? This article is an attempt at figuring out which I should use based on the specific needs of the API I am building and on what the…