HEALTH FIRST

Industrial training submission report

From as simple as writing your thoughts in your journal to a more advanced and efficient functionality of Cataract Detection Test, we present you with our product HEALTH FIRST. HEALTH FIRST aims at reducing cost of health services with the help of our scalable Mobile Application built on React Native with Firbase at the backend.

Login Dashboard Water Intake Tracker
Screenshot-20201124-214752-Expo Screenshot-20201124-214803-Expo Screenshot-20201124-214853-Expo
Cataract Test Meal Planner Appointment Booking
Screenshot-20201124-214953-Expo Screenshot-20201124-215056-Expo Screenshot-20201124-215031-Expo
Search Hospitals/Doctors Realtime Chat Water Intake Tracker
Screenshot-20201124-215011-Expo Screenshot-20201124-215128-Expo Screenshot-20201124-214814-Expo
Adding to Journal
Screenshot-20201124-214842-Expo

Software prerequisites

Install the below tools/packages

Serial No Software Version Installation site
1 Node.js >= 6.9.1 Install NodeJS
2 npm >= 3.10.8 Install NPM
3 react-native >= 0.51.0 Install react-native
4 react-native-cli >= 2.0.1 Install react-native-cli
5 expo >= 47.1.1 Install Expo

Setup Instructions

System setup

  1. Clone the repo with git clone [REPO_URL] command
  2. Switch to the project's root directory in terminal
  3. Install the dependencies by running npm install
  4. Make virtual env named "env" by python3 -m venv env
  5. Activate it by source env/bin/activate
  6. Install the python packages required by pip install -r requirements.txt
  7. To run the expo app expo start
  8. To run the flask server move to the "flask_app" directory & run it cd flask_app python main.py

NOTE : For making request from mobile device to the flask app(running locally) replace the provided address(192.168.1.5) with your local address appropriately in const apiUrl = "http://192.168.1.5:8080/detect"; in "screens/Camera.js"

you can write your env specific config variables on .env file and import them from react-native-dotenv package as mentioned here.

Ignore the first step on 'Mobile setup' instructions given below if you already have 'Expo' app installed on your phone.

Mobile setup

  1. Install 'Expo' application on your android/iOS device. You can find the links to Android and iOS apps here.
  2. Scan the QR code shown on the terminal.
  3. Once the QR code is successfully scanned, it will take few seconds to load and render the app.

Note In case of any problem, please mention and describe your issue in the issue section