RunMate is an innovative running app designed to track your runs, monitor your progress, and help you achieve your fitness goals. Whether you're a beginner or a seasoned runner, RunMate offers personalized insights and real-time tracking to enhance your running experience.
MIT License
RunMate is a feature-rich mobile app designed to help runners track their activities, analyze performance, and stay motivated toward achieving their fitness goals. With real-time GPS tracking, detailed performance insights, and a user-friendly interface, RunMate is your personal running companion.
react-indexed-db-hook
)To get started with the RunMate project locally, follow these steps:
Clone the repository:
git clone https://github.com/leongweitong/RunMate.git
cd RunMate
Install the dependencies: Using npm:
npm install
Or using Yarn:
yarn install
Build the React app:
npm run build
Integrate the build with Cordova:
Ensure that the build output is copied into the Cordova www
directory:
npm run build-cordova
Run the app on a device or emulator:
cordova run android
Replace android
with ios
if you are developing for iOS.
Run the React development server:
npm run dev
Cordova Development: After making changes to the React code, rebuild and redeploy the app using Cordova:
npm run build-cordova
cd runmate
cordova build
cordova run android
RunMate uses react-indexed-db-hook
to store activity data locally. Ensure that your IndexedDB schema is set up correctly in indexedDB.js
for handling activity data such as total distance, path, and time.
Contributions are welcome! If you'd like to contribute to RunMate, you can contact my email for details: [email protected]
This project is licensed under the MIT License - see the LICENSE file for details.