Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.16 KB

File metadata and controls

28 lines (24 loc) · 1.16 KB

Exciting Challenges: Drive Engagement and Motivation

  • Fun and Competitive: Quick challenges with leaderboards for friendly competition.
  • Boost Activity: Keep fitness exciting and rewarding for users.
  • Easy Integration: Add dynamic challenges effortlessly to your app.

You can find exercises in our library here, or create your own exercises in our admin portal.

CHALLENGE Integration Example

1. Add exercise and countdown fields to postData:

const postData = {
 // ... all initial fields
  exercise: 'jz73VFlUyZ9nyd64OjRb', // name or ID of the exercise
  showLeaderboard: true, // show leaderboard at the end of the challenge
  countdown: 100, // duration of challenge in seconds
};

2. Change the srcURL to display challenge:

const srcURL = `https://kinestex.vercel.app/challenge`;

Next steps: