Let’s strengthen our React Native skills by building this Fitness UI for a workout logger.

This is an Bonus lesson, part of the Fitness App module in the React Native Mastery Course.

If you are up for the challenge, and want to practice building React Native User Interfaces, let’s build this together.

The app

The application is a workout tracker. You can track a workout while training and then keep track of the past workouts.

We have 3 main screens:

Home Screen

simulator_screenshot_643FF94F-A553-4DFE-B5A2-017D54EF1A85.png

Workout details

simulator_screenshot_BA720C0E-B229-4235-8946-011B2EB9DE98.png

Workout Logger

simulator_screenshot_ED611D3E-DA93-45CC-9B50-976993C1ABCF.png

Dark/Light mode

We will also implement dark/light mode:

simulator_screenshot_8CEC2AAB-9372-456E-8B58-6A3DD6DACB73.png

Let’s get started 🌟

Create and setup the project

"paths": {
  "@/*": ["./src/*"]
}

Data model

Let’s explore the data model that we will work with. Here is the database model that we will later build.

Fitness app db diagram.drawio (1).png

There are 3 main models in our app: