Skip to content
A personal fitness activities tracking application.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
actions
assets
components
reducers
utils
.gitignore
.watchmanconfig
App.js
README.md
app.json
babel.config.js
package.json
yarn.lock

README.md

UdaciFitness

A React Native personal fitness activities tracking application. It allows users to track daily activities, see history, and track location.

Developing

Prerequisites

Node

Install Latest LTS Version: 10.15.2 (includes npm 6.4.1) Binaries, installers, and source tarballs are available at https://nodejs.org/en/download/.

To update your npm and install globally, type this into your terminal

npm install npm@latest -g

To test Node. To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool

npm -v

Yarn

yarn is a fast, reliable, and secure dependency management tool. You can now use yarn to install reason and manage its dependencies.

To install Yarn, it is best to consult the official documentation for your particular platform.

To install yarn globally using node, type this into your terminal

npm install -g yarn

Testing

yarn -v

Building

Note: No Xcode or Android Studio is required to run this.

First, fork this repository to your GitHub account. Then you can clone and install:

git clone https://github.com/<YOUR_ACCOUNT>/UdaciFitness-React-Native.git
cd UdaciFitness-React-Native
yarn install // This will install all dependencies
yarn start or expo start

Android

  • Install the Expo app on your Android device.
  • Scan the QR code in your terminal from the Expo app to run the project on your phone.
  • Alternatively you can press 's' in the terminal and sign in with an Expo account, and sign in with the same account in the Expo app: your projects will automatically appear in the "Projects" tab.

iOS

  • Install the Expo app on your iOS device.
  • Press 'e' in the terminal to send the app link to your email address or phone number. This link can be used to run your project from the Expo app.
  • Alternatively you can press 's' in the terminal and sign in with an Expo account, and sign in with the same account in the Expo app: your projects will automatically appear in the "Projects" tab.

Expo CLI allows you to work with all of the Components and APIs in React Native, as well as the JavaScript APIs that the Expo app provides.

You can’t perform that action at this time.