
import RNFS from 'react-native-fs';


const Constants = {
    API_PATH: 'http://ec2-52-87-152-32.compute-1.amazonaws.com/',
    IMAGE_DIR: RNFS.DocumentDirectoryPath + '/images/',
}

export default Constants;


import RNFS from 'react-native-fs';


const Constants = {
    API_PATH: 'http://localhost:3000',
    IMAGE_DIR: RNFS.DocumentDirectoryPath + '/images/',
}

export default Constants;

--- 
+++ 
@@ -3,7 +3,7 @@
 
 
 const Constants = {
-    API_PATH: 'http://ec2-52-87-152-32.compute-1.amazonaws.com/',
+    API_PATH: 'http://localhost:3000',
     IMAGE_DIR: RNFS.DocumentDirectoryPath + '/images/',
 }
 
Change to targeting a public server
