Skip to content

sdeweese/NeonatalApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neonatal App

This application has three main components:

  1. Educational Modules
  2. Resources Map
  3. Admin Portal with locally stored database (to store contact mother's information)

Initial Setup

  1. Install node.js: brew install node Note, if you do not have homebrew installed, install it using this link: http://osxdaily.com/2018/03/07/how-install-homebrew-mac-os/ (We used version 13.6.0. Check your version with this command node -v)
  2. Once node is intalled properly, install expo-cli: npm install -g expo-cli (We used 3.11.7 Check your version with this command expo-cli -V)
  3. Clone repo into a folder on your device by using git clone <this_repository_ssh_or_https_key>
  4. Go to a command line prompt and navigate to the folder.
  5. Once in folder, type in command line npm install to install all the dependencies and modules in the folder.
  6. To set up a project, run the following commands expo init <name_of_app> cd <name_of_app>
  7. You can now run the application by using the command npm start. This will open up a tab on your browser. Wait until a message appears that says "Tunnel ready." Then, click on the "Tunnel" option in the lower left hand of the browser screen. Download the Expo Cli app on the phone.
  8. Install android-studio brew cask install android-studio
  9. If you are using iOS, use the built-in camera app on the phone to scan the QR code. A link will come up asking to open the Expo Cli app. However, for Android devices, the QR code can be scanned from within the Expo Cli app itself. (Note: XCODE's iOS simulator is another option for testing the app. Android simulators are also available.)

App-Specific downloads

To be able to navigate between screens, install the following: https://facebook.github.io/react-native/docs/navigation

  • npm install --save react-navigation
  • npm install --save react-native-gesture-handler
  • npm install --save react-navigation-stack

If there are any peer dependencies that need to be installed, install them as your command line prompts you to. For our project we installed these peer dependencies:

  • npm install --save @react-native-community/masked-view
  • npm install --save react-native-safe-area-context

React Bootstrap:

React Bootstrap: (optional because not currently used)

  • npm i react-bootstrap bootstrap

Twilio:

  • npm install twilio

Set up environment for Sendgrid:

  • echo "export SENDGRID_API_KEY='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'" > sendgrid.env
  • echo "sendgrid.env" >> .gitignore
  • source ./sendgrid.env
  • npm install --save @sendgrid/mail

DatePicker:

  • npm install react-native-datepicker --save

Expo FileSystem:

  • expo install expo-file-system

Creating an APK File

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •