A new version of the Pediatric Risk Assessment (PARA) app in React and React Native
This app is built with Expo. Please see the Expo Docs for installing prerequisites.
After cloning the repo, run npm install from the project directory to install dependencies.
To run:
npx expo startIn the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
After launching, you can open the app on another platform simultaneously by pressing a (android) i (ios) or w (web) in the console.
- Android emulator set up and running
- A DB viewer — TablePlus (or your favourite db manager) is recommended, or install the SQLite Viewer extension in VS Code
-
Launch PARA from an Android emulator by running one of the following in your terminal:
npx expo run:android— development build (recommended, most similar to what users will experience)npx expo start— uses Expo Go
-
From the project root, run the pull script:
cd scripts
./pull-dbs.shThis pulls the database into scripts/db/.
- Open the
.dbfile using one of these methods:-
TablePlus (recommended) — drag and drop the
.dbfile onto the dock icon, or go to File → Open -
VS Code — open the file directly with the SQLite Viewer extension installed
-
Terminal (no install needed, macOS only):
sqlite3 scripts/db/para.db
This allows you to run SQL from your Terminal.
Useful commands:
.tables— list all tables.schema <table>— show table structureSELECT * FROM <table>;— view all rows in a table.quit— exit
For more, see the SQLite CLI reference.
-
Note:
adbonly works for Android emulators and USB-connected Android devices with debugging enabled. It does not work for iOS. Seescripts/pull-dbs.shfor details.