Skip to content

monaca-samples/workout-app

Repository files navigation

Workout App

App that let's you monitor your weight, create a workout routine, search for exercises and add your routine to your calendar.

Technologies used

Setup

You have to setup environment variables for the project to work. Edit env.js with the following content.

const env = {
  "WORKOUT_API_KEY": "...",
  "FIREBASE_API_KEY": "...",
  "FIREBASE_AUTH_DOMAIN": "...",
  "FIREBASE_PROJECT_ID": "...",
  "FIREBASE_STORAGE_BUCKET": "...",
  "FIREBASE_MESSAGING_SENDER_ID": "...",
  "FIREBASE_APP_ID": "...",
}

export { env }

For the WORKOUT_API_KEY , create a RapidAPI account, log in and go to RapidAPI ExerciseDB page. Subscribe for the Basic Plan (it is free) to acquire the API key.

For firebase related variables, when creating and configuring a project you will get the corresponing firebaseConfig with all information.

How to run

To run the application in web mode, use monaca preview. You can check how to install Monaca cli here.

Alternatively, you can run yarn dev

To run on mobile phone you can use Monaca Cloud to build the app.

Alternatively, to do it locally, you need to install Android Studio and/or Xcode, and then run the following commands:

yarn cap add ios or yarn cap add android

yarn cap sync

And finally you can open the project and run normally in your device / simulator with:

yarn cap open ios or yarn cap open android

Blog Post

You can read more about this project and how it was developed here.

Demo

demoWorkoutApp.mp4

About

Workout app created with Monaca and Capacitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages