A quick JS app that interacts with an API using Promises