Meet the Example App: Your kick-off point for developing with Contentful

Published on December 4, 2018

20181204 Sample app v2-01

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.

exampleapp img0

Use your favorite language to learn about Contentful

The Example App has introductory examples for how to build an application with Contentful using .NET, Java, Node.js, Ruby, Python, PHP, Kotlin, and Swift.

Get up to speed on content modeling

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.

Highlights

1. Learn about our APIs

Contentful follows an API-first approach, which means that all of its functionality is provided by APIs.

exampleapp img1

This enables you to:

2. 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.

Clone the Example App

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 the Contentful 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.

Subscribe for updates

Build better digital experiences with Contentful updates direct to your inbox.

Related articles

The Storylines Tour landed in Silicon Valley, where attendees shared their insights on brand storytelling and new ways for technology to enhance creativity.
News

Storylines Tour Silicon Valley: Be personal, be innovative, scale it up

October 13, 2023

News

Change of the Contentful asset domain

December 8, 2017

News

The most foolproof way to get started with Contentful

April 9, 2018

Contentful Logo 2.5 Dark

Ready to start building?

Put everything you learned into action. Create and publish your content with Contentful — no credit card required.

Get started