- React Native Setup
- Clone The Project to your computer
- Go inside the project folder
- Open Terminal -
npm install
npm run Start
We will come back to QR code
-
Server Setup (a bit tricky)
You will Need 2 additional terminal windows 3 terminals in total
- Inside the project folder open second terminal
- Go to server folder /
cd server
- run
npm run db
command - open third terminal window
- run
npm run tunnel
- tunnel : ngrok http 3000
baseURL: ' http://b82c96ac682a.ngrok.io';
with the actual url you copied from terminal and save
Now you can go to localhost:3000 and you should see the success page from json-server
-
Test On your mobile device
You will Need to install Expo app from Google Play Store or Apple App Store to be able to test the app
- Open Expo app on your mobile device
- Scan the QR code showed up on the browser earlier
- if you get en error change Lan To Tunnel
- if everything went well you should be able to use the app now