A Dating App for everybody Trailer: https://youtu.be/dQw4w9WgXcQ
Node 10 or greater and yarn is required. Development for iOS requires a Mac and Xcode 9.4 or up, and will target iOS 9 and up.
You also need to install the dependencies required by React Native.
Go to the React Native environment setup, then select React Native CLI Quickstart tab.
Follow instructions for your given development OS and target OS.
Edit android/app/build.gradle ( NOT android/build.gradle ) and add the following (if not already present):
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"In order to obtain data from your local express server, create a secrets.js file in src/main/frontend/misc and insert your local IP like the following:
export const IP = 'YOUR_IP_HERE'
You also have to provide a db.js file in that folder with your Microsoft SQL database credentials:
module.exports = {
username: 'YOUR_USERNAME',
password: 'YOUR_PASSWORD',
serverNmae: 'YOUR_SERVER_NAME',
databaseName: 'YOUR_DATABASE_NAME',
}
You can setup and run the project by running:
yarn installto install the dependencies- run the following steps for your platform
yarn startto start the metro bundler, in a dedicated terminalyarn androidto run the Android application (remember to start a simulator or connect an Android phone)
cd iospod installto install pod dependenciescd ..to come back to the root folderyarn startto start the metro bundler, in a dedicated terminalyarn iosto run the iOS application (remember to start a simulator or connect an iPhone phone)