Skip to content

williamniemiec/nfit-app

Repository files navigation

nFit - APP

Simple work out app.

React Native compatibility License Release

Get it on Google Play


❇ Introduction

nFit is a simple work out app made using React Native. The main objective was to develop a mobile application for learning purposes only, not for profit. You can interact with the project downloading the app on your smartphone through PlayStore (click here to access).

✔ Requirements

ℹ How to run

Type in your terminal:

  1. npm install

Local - Windows

  1. react-native run-android OR react-native run-ios

Local - Linux

  1. react-native start
  2. react-native run-android OR react-native run-ios

Expo

  1. npm install -g expo-cli
  2. expo start

Throubleshoot

Error
error SHA-1 for file /usr/local/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js (/usr/local/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js) is not computed. Run CLI with --verbose flag for more details.
ReferenceError: SHA-1 for file /usr/local/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js (/usr/local/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js) is not computed
Solution - Linux

npx react-native start

Solution - Windows

npx react-native run-android

🖼 Gallery

image 1 image 2 image 3 image 4 image 5 image 6 image 7 image 8 image 9 image 10 image 11 image 12

🚩 Changelog

Details about each version are documented in the releases section.

🗺 Project structure

architecture

📁 Files

/

Name Type Description
__tests__ Directory Test files
android Directory Android source files
docs Directory Documentation files
ios Directory iOS source files
src Directory Source files

/src

Name Type Description
assets Directory Application static files
components Directory Reusable objects
config Directory Configuration files
locales Directory Translation files
navigators Directory React Navigation files
reducers Directory React Redux files
screens Directory Application screens
services Directory Classes responsible for providing data from APIs and utility services
App.js File Application point entry
Store.js File React Redux configuration file