As developers, we know that selecting the best stack for the job is never easy. That’s why we at Contentful have been working hard to give you The Example App — a series of reference applications that walks you through the basics of Contentful.
We built The Example App to help you answer two questions:
How can I realize my project with Contentful?
How do I get started using my favorite language?
By experimenting with The Example App, you will learn how Contentful’s content infrastructure is ideal for your next project and how you can write an app that works to retrieve content from your space in Contentful.
Content modeling is the practice of structuring your content. At Contentful, you do this by creating content types. The Example App features a thorough lesson on how to build a content model to fit your project. You can even get a working example of Example App to-go on your Android device as well as for iOS on the App Store.
Learn about our APIs
Contentful follows an API-first approach, which means that all of its functionality is provided by APIs.
This enables you to:
Modify data schemas or configure a webhook through the Content Management API
Deliver cross-channel content through the Content Delivery API
Preview unpublished content through the Content Preview API
Resize, crop, or re-compress images through the Images API
Develop an app for mobile
With our Example App available in so many languages, you can choose to dive into developing a mobile-first solution to retrieve and serve your content. Let’s say you wanted to develop for Android — our GitHub repo provides you with everything you need to load into your Java SDK.
However, Java is legacy for building Android apps at this point and Kotlin is the future. Kotlin comes recommended by Google for writing Android apps since it’s a less verbose, concise language than Java. What do you do now? Lucky for you, we’re always striving ahead to support all sorts of (modern) ways for you to work and we’ve got you covered with a repo for The Example App in Kotlin!
The Android version of The Example App is written in Kotlin and will be what the app would look like out-of-the-box from the GitHub repo; development of a variant of the Example App that uses GraphQL is also underway.
With the app on the store and source code on GitHub, you can very easily learn how to combine new tech such as Kotlin, architecture components, and more to be integrated into your app using Contentful.
While theory is great, nothing beats learning from code examples. Head over to Contentful’s GitHub page to find The Example App’s GitHub repo in the language of your choice, and start modifying our examples to your liking.
If you’re looking for a higher-level overview to get your bearings and go in the right direction, we also have this foolproof guide on how to get started with Contentful that you can check out before progressing to the Example App.
Brad works with technical content and marketing at Contentful. As a tech enthusiast, he also has a passion in computer hardware and data visualized in graphs so large, they take forever to load in Excel.