This project is maintained by SCCapstone
Free to Fosters is a way for foster families to find and recieve donated goods that they need. Users that are not foster families are able to upload items that they want to donate to the app and foster families can go onto the app and claim them. Foster families are also able to donate goods that they no longer use as well and create requests for items that they need.





npm install -g react-native-cli $ pwd
your_path/FreeToFosters
npm install and yarn installsudo gem install cocoapods if there is no result after runing which pod $ pwd
your_path/FreeToFosters/ios
pod installyarn add firebase to add FirebaseAndroid
Run react-native run-android or yarn android in the project directory
IOS
Run react-native run-ios or yarn ios in the project directory
Unit Testing
Behavior Testing
Set up: We are using Detox to use Behavior Testing and Detox runs only on the Mac OS/Linux system.
// Mac OS only because XCode is only Mac OS.
xcode-select install
brew tap wix/brew
brew install applesimutils
// Mac and Linux platforms
npm install -g detox-cli
npm install detox --save-dev
Andriod
build app
detox build --configuration=android.emu.debug
or
detox build --configuration=android.emu.release
Configure testing device by changing avdName in package.json
"device": {
"avdName": "Pixel_2_API_27"
}
test
npm start
detox test -c android.emu.debug //or release
iOS
build app
detox build --configuration=ios.sim.debug
Configure testing device by changing type in package.json
"device": {
"type": "iPhone 11"
}
test
npm start
detox test -c ios.sim.debug
Steven Childs
Junzhe Xue
Minqi Yu
Clayton Oney
Anna Bottu