Skip to content

Create your own database server with ngrok and use it in react native app

Notifications You must be signed in to change notification settings

vishalpwr/ngrok-db-server-react-native-app

Repository files navigation

Getting Started

clone the app and go inside of root dir run npm install

then go inside rootDir/JsonServer (inside JsonServer dir) and run

npm install

then open this dir in terminal or command prompt and run

npm run tunnel //to start ngrok tunnel

then run

npm run db //to start database server

then copy ngrok tunnel forwarding url and past in App.js

url = "https://ae06fec9c1a7.ngrok.io" + 'route' //route(YOUR_DATABASE_OBJECT_KEY)
//LIKE -> https://ae06fec9c1a7.ngrok.io/posts

then run app

expo start

then select android/ios device to run the app from options

About

Create your own database server with ngrok and use it in react native app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published