Test localhost on your phone without typing a URL!
- Install:
- libqrncode (
brew install libqrencode
) - jq (
brew install jq
) - ngrok (download the binary)
- libqrncode (
- Put the following code in
~/.bash_profile
or wherever you prefer to configure your shell- Don't forget to
source
afterwards!
- Don't forget to
- Start an ngrok tunnel (for example:
ngrok http 3000
for an app running atlocalhost:3000
)