Company
Date Published
Author
Harshil Agrawal
Word count
2167
Language
English
Hacker News points
None

Summary

This article discusses creating a Contentful app that integrates with the Last.fm API, allowing users to search and add album data to their content. The app is built using Node.js, npm, and the App Framework provided by Contentful. The author created this app as part of their enthusiasm for musicals, specifically inspired by the stage version of Back to the Future. The app allows users to input an album name, which triggers a search on the Last.fm API to retrieve relevant albums. Once an album is selected, it is displayed and stored in Contentful. The app also includes a feature to remove the selected album from the content. Throughout the article, the author provides step-by-step instructions for creating the app, including setting up the App Framework, installing dependencies, configuring the app definition, and customizing the dialog component. The final code is provided, allowing readers to build upon this example and create their own Contentful apps.