A mobile web app where users can post pictures of two outfit options and a community of users can provide feedback on which looks better.
- npm 6.13.7+
- Node 10 LTS or greater installed
- expo-cli
- firebase
The app uses Firebase as cloud storage and it uses Firebase as a NoSQL database, so to use the app you must set up Firebase.
A few steps are needed to connect Firebase and fab-app.
You do this with your browser on the Firebase web console. Follow these instructions.
If you follow the intructions you will come across a firebase config object. Copy the firebase config object and navigate to the file located at the path ./src/db/init.js
, replace the firebase config object in this file with your own.
Next install npm. Assuming that you have Node 10 LTS or greater installed, use npm to install the Expo CLI command line utility:
npm install -g expo-cli
-
Download the expo app on your phone.
-
Using your terminal/command prompt navigate to the directory with all the code then type:
npm i
this will install all the required packages for the app. -
Next type:
expo start --tunnel --clear
A QR code will now pop up. If you have an android scan the QR code using the expo app. If you have an iPhone use your camera to scan the QR code. The app will now be running on your phone.
Android phones might have a few issues with spacing and navigation due to some React Native features being developed mainly for Apple products