Sitemap

Creating a react-native app with strapi as backend

6 min readNov 25, 2019
Press enter or click to view image in full size

This tutorial guides you through the process of creating a simple react-native TODO app with strapi as your backend. You will be able to create, edit and delete TODO’s on a per-user basis by interacting with the REST-API of strapi.

Press enter or click to view image in full size
This is what the final app will look like

NOTE: This tutorial assumes that you already have an instance of strapi up and running and created a test user. If you don’t, read their getting started guide.

Try it out

The sample app is available on Github

Setting up your backend

Firstly we’ll need to create a new Content-Type named “todo”. For that we need to access our Content-Type Builder and click on “+ Add A Content-Type”.

Press enter or click to view image in full size
Adding a new Content-Type

Now that we have successfully created our new Content-Type we need to add some fields to it.

  • title (String, required): The title of the TODO.
  • description (String, required): A quick summary of the TODO.

--

--

Fabio Nettis
Fabio Nettis

Written by Fabio Nettis

Mobile developer with italian roots born and living in Switzerland.

Responses (2)