Challenge friends on fitness goals

Overview

Fitness Challenge

Pursuing your fitness goals is fun together with friends. Challenge your friends for daily activities and see who's leading. You can use any fitness trackers such as Apple Watch, Fitbit etc. Sync the tracker with Apple Health / Google Fit. The app reads daily activities from Apple Health / Google Fit.

Features

  • User signs up and/or signs in
  • See all challenges they are participating in and their current rank
  • Create new challenge and choose the measure type - #Steps or Calories Burned.
  • Invite friends to the challenge using their email id
  • Sync their health data from Apple Health/Google fit
  • Open a challenge and see the leaderboard of all users
Built with Appwrite

Fitness Challenge is built on Flutter and Appwrite. It uses AppWrite for:

  • New user registration
  • User login
  • Storing all documents (new challenges, user activities etc.) in the database
  • Calculate leaderboard using server side functions

Screenshots


Getting Started

  • Install Appwrite, open AppWrite console (https://localhost) and create your project
  • Add Flutter platorm in your Appwrite project. Update the deployment target as shown in the ios secion
  • Enable Healthkit in Capabilities tab in Xcode as shown here
  • Append the following to info.plist
<key>NSHealthShareUsageDescription</key>
<string>We will sync your data with the Apple Health app to give you better insights</string>
<key>NSHealthUpdateUsageDescription</key>
<string>We will sync your data with the Apple Health app to give you better insights</string>
  • Create the following collections in appwrite console
    • users: user_id (text), user_name (text), email (text), health_last_sync (numeric)
    • user_activities: user_id (text), measure_type (text), value (numeric)
    • challenges: challenge_id (text), challenge_name (text), measure_type (text)
    • leaderboard: challenge_id (text), challenge_name (text), user_id (text), user_name (text), email (text), rank (numeric), measure_type (text), value (numeric)
  • Create user profile creation server side function in Appwrite console as described in here
  • Create leaderboard calculation function in Appwrite console as described in here

UI Design

Welcome, login & sign up pages are taken from this github repo.

What's next

  • User authentication with Other OAuth providers (Google, Facebook, Twitter etc.) using Appwrite's built-in OAuth2 integration
  • Email verification using Appwrite'e email verification feature
  • Password recovery using Appwrite's password recovery feature
  • Add a user to the challenge only after their confirmation (currently they are added by default when invited)
  • Better UI :)
  • Start date & end date for challenges and declaration of winners
  • Option to choose other health data types in challenge - currently only Steps-count and Active-energy-burned are considered for challenge
  • Integration with Google Fit (currently integrated with Apple Health only)
  • Sync health data incrementally and automatically (without specific button click)
You might also like...

A simple application that provides data from github friends, among them their commits.

A simple application that provides data from github friends, among them their commits.

A simple application that provides data from github friends, among them their commits.

May 18, 2022

An simple app for your shared billings with your friends or enemies :)

oepaga A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this i

Sep 23, 2022

đź’¬An app to chat & discuss on latest movies with your friends & family and people all around the world

đź’¬An app to chat & discuss on latest movies with your friends & family and people all around the world

Movie Chit-Chat An app to chat & discuss on latest movies with your friends & family and people all around the world đź’¬ Have you ever thought where yo

Dec 9, 2022

Split your bill among friends.

Bill-Split-App Split your bill among friends. Preview 👇 split.mp4 Full Video 👇 INSTAGRAM ⚙️ Built with Amazing Tools Flutter - Beautiful native apps

Oct 20, 2022

Flutter UI challenge (with Box2D physic)- Smart washing machine app

Flutter UI challenge (with Box2D physic)- Smart washing machine app

Flutter UI Challenge- SMART Washing Machine About project The application was written based on this great UI concept: https://dribbble.com/shots/11018

Dec 27, 2022

Challenge yourself every weekend with flutter. Join me to implement challenging UI & digital designs using Flutter.

Challenge yourself every weekend with flutter. Join me to implement challenging UI & digital designs using Flutter.

Weekend With Flutter This is my new challenge. Every weekend, I want to implement challenging UI & digital designs using Flutter. you can join me with

Feb 24, 2022

flutter development bootcamp layout challenge #2.1

MiCard App Challenge Hey folks! This app is the continuation of the layout_challenge_app. I coded this app from scratch because unfortunate things hap

Jan 6, 2022

This is my participation Repo for the 100 days of coding challenge

hundred_days_of_coding Day 1: Started creating Project and using advanced tools to make the development easier Day 2: Added DataClasses with the help

Nov 21, 2021

AppandUp recruitment challenge

AppandUp recruitment challenge

appandup_challenge This repository contains the source code of an Android/iOS/Web application developed as a requirement for Flutter Developer Remote

Oct 19, 2021
Comments
  • How do you enable healthkit capacities?

    How do you enable healthkit capacities?

    I tried to follow this Enable Healthkit in Capabilities tab in Xcode as shown here

    but the documentation does not match what I see on my xcode flutter project, how does this work please?

    opened by chrisvidal 2
  • Sync health data only incrementally and automatically (scheduled)

    Sync health data only incrementally and automatically (scheduled)

    Today health data is synced with a hard coded date range. It should be read incrementally and automatically every day (schedule) without needing an explicit click of a button

    opened by gireeshp 0
  • Accept invitation to join challenge

    Accept invitation to join challenge

    Users should be able to accept the invitation to join the challenge. Until then, they can be shown in the challenge leaderboard but as "Invited" not "Joined"

    opened by gireeshp 0
  • Email verification flow

    Email verification flow

    When a user is registered using email id & password, send them an email verification link. Don't let them invite other users or join a challenge until the email id is verified

    opened by gireeshp 0
Owner
Gireesh Puthumana
Developer v2.0 loading..
Gireesh Puthumana
Challenge cannabis - Challenge for Slicing UI Cannabis from FLutter Fan Indonesia

challenge_cannabis Challenge buat Slicing UI Cannabis dari om Kipas Angin FLutte

wind city 3 May 11, 2022
Flutter fitness/workout app for wger

Mobile app for wger Workout Manager wger is a free, open source flutter application that manages and tracks/logs your exercises and personal workouts,

wger Project 174 Jan 8, 2023
Boozin fitness - A sample app to that will pull data from Google Fit to get the steps count and calories burned

boozin_fitness A sample app to that will pull data from Google Fit to get the st

Abhishek Kumar Gupta 1 Nov 23, 2022
Fitness Tracking App UI

Fitness Tracking App UI Support me on Patreon Watch on Youtube A new Flutter project. Getting Started This project is a starting point for a Flutter a

Syed Abdullah 11 Oct 27, 2022
PrivateFit is an E2E encrypted fitness application built on the atPlatform.

Private Fit Now for a little internet optimism Generated by the at_app CLI and Very Good CLI ?? A secure fitness app. Getting Started ?? This project

The Atsign Foundation 6 Oct 31, 2022
A mobile application for both android and ios made for work out and fitness purpose

It's a mobile application for both android and ios made for work out and fitness purpose with many features you can read about here, but it can be used under all subject you want, well architected code and organized !

Gwhyyy 20 Dec 18, 2022
Use CMP Crew, Create a room, invite your friends to join, and let them add their orders to the shared menu!

Tired of collecting your friends’ orders at restaurants? Lost track of how many of you want tea? Don’t worry we got you covered! Use CMP Crew, Create a room, invite your friends to join, and let them add their orders to the shared menu!

Ahmed Ihab 14 Dec 15, 2022
Flutter application for latest news by top newspapers . And allow for share articles with friends. Now available in night mode. Also landscape mode is available

Breaking News Latest news for almost 55 country. Feature of saving article and search ariticles. Used API https://newsapi.org/ Note: if data is not ge

null 7 Oct 24, 2022
Social app has a real time connection with firebase , contains posts, chats, stories, friends

##SocialKom (Social App) #####First Notice this: you need to link the app with fire base by: 1- adding google-services.json for android 2- adding goog

Mina  Faried 24 Oct 8, 2022