From c8b9f8c4729aabf77820eaa70997efa1ef8d53dc Mon Sep 17 00:00:00 2001 From: vuvnguyen95 <111828665+vuvnguyen95@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:46:18 -0500 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 98754d93..43bf519f 100644 --- a/README.md +++ b/README.md @@ -35,19 +35,24 @@ npm install -g expo-cli 1. Clone the repository. 2. Install the required npm packages: -\```bash +``` npm install -\``` +``` + +In RNLoginBackend directory, start the server using +``` +node server.js +``` +to establish the server with mongoosedb database -3. Make sure you set up Firebase and add your Firebase config in the appropriate file. ## Running To run the app in a local development environment: -\```bash +``` expo start -\``` +``` This will open a QR code that you can scan using the Expo Go app on your Android device, or it will give you an option to run it on an Android emulator. @@ -55,9 +60,9 @@ This will open a QR code that you can scan using the Expo Go app on your Android The app will be released for testing via a downloadable APK. To generate the APK: -\```bash +``` expo build:android -t apk -\``` +``` Follow the on-screen instructions to download the APK once it's generated. @@ -76,9 +81,9 @@ We will be using Jest for automated testing. To run the unit tests, execute: -\```bash +``` npm test -\``` +``` ## Database Schema