Skip to content

briankwong65/easy-clinic

Repository files navigation

Easy Clinic

Easy Clinic is a hybrid app written in React Native and Node.js for dealing with simple clinic records.
Please refer to ../screenshots for screenshots of the app.

Pre-requisites

  • Installed Node.js .
  • Prepared an Android/IOS device or emulator.

Installation

  • Use the package manager npm to install Expo CLI :
npm install -g expo-cli
  • Install XAMPP to set up the local SQL database.
  • If you are using an Android Device, please install the Expo app from Google Play Store.
  • If you are using an IOS Device, please install the Expo Client app from App Store.

Usage

  1. Turn on XAMPP, start Apache and MySQL (You can press the admin button of MySQL to open the phpMyAdmin page).
  2. Start the EXPO CLI and run on an Android device/emulator :
expo start
a
  1. Open another terminal and cd to the backend directory and start the back-end server(Node.js) :
cd backend
nodemon app.js

For IOS device, instead of typing the "a" command, please scan the QR code on the command prompt or the Expo Developer Tool after executing expo start.