Final Project for CS389
Created by Tyler Besnoff, Lucas Lecler, and Xander Hughes (TLX)
Client: React Native
Server: Node, Express, MongoDB
- NVM
- Node v16
- Android Studio
- Android SDK0
- React Native - Environment Setup
- Skip creating a new application, that has been done already in the app directory
- You only have to run
npm run startthentype a, you don't have to runnpm run android
Install the backend:
cd backend
npm iInstall the frontend:
cd ../app
npm iIf on macos:
cd ios
pod install
cd ..Follow these instructions: https://aboutreact.com/react-native-ionicons/
To run this project, you will need to add the following environment variables to your .env file
backend:
PORT
You can do so by coping the .env.local files, removing the .local extension, and editing the entries
Clone the project
git clone https://github.com/Right-Pay/Software_Development_CS389.gitGo to the project directory
cd .\Software_Development_CS389\Install dependencies for the backend
cd .\backend\
npm installStart the server (ExpressJS)
npm run startInstall dependencies for the app
cd ../app
npm install
npm run startFollow the README in the app directory to install Android Studio and start your emulator. React Native - Environment Setup
Restart all terminals after updating path variables
Start the app (a for android, and i for iOS [iOS only works on macOS])
npm run startIf we switch to not using expo:
If you can't get this to work, see the Troubleshooting page.
- If you can not launch the android emulator, run this:
npx react-native doctor
- If there are any issues with the android sdk, edit your config file for the emulator of your choice to use host graphics:
C:/Users/<user>/.android/AVD/<your emulator name>.avd/config.init
gpu.mode=host