A blog app using react native and jsonserver which is a convenient RESTful API simulator and ngrok which allows users to expose local development servers to the internet. The app allows users to add, delete and edit blog posts and view them.
- Install the expo app on your physical device
HyperV should be enabled on your computer in the BIOS.
- Install android studio on your computer
- Create a virtual device and then press on run.
- First install all required dependencies in both main folder and in jsonserver
npm i
-
Then run your emulator or the expo app on your physical device
-
Then install ngrok from web and set path of ngrok.exe in your Path environment variable
-
Now run this command in jsonserver folder
npm run db
- Now run in terminal
ngrok http 3000
-
Change the link we get from previous command in jsonServer.js inside api inside src
-
Then run
npx expo start
- Scan the QR code if using physical device or press a to automatically start expo app on emulator