This project was bootstrapped with React Native CLI Quickstart. Head over to the link, choose your development OS and target OS and install its dependencies.
Install packages:
npm installStart Metro:
npx react-native startRun the app in ios simulator (You need to have Xcode installed):
npx react-native run-iosRun the app in android simulator (You need to have Android Studio installed):
npx react-native run-androidTo run the upload component you will have to 1 - Replace your Imagekit endpoint, public key in app/config/imagekit.js (these creds can be found in your Imagekit dashboard 2 - set up a backend server as shown below.
There is a sample server present in the /server directory.
It takes the private key from .env file, so create a .env file by renaming the sample.env in /server and paste your authentication credentials into it.
Install packages:
cd server
npm installTo run this server:
npm start