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_profileor wherever you prefer to configure your shell- Don't forget to
sourceafterwards!
- Don't forget to
- Start an ngrok tunnel (for example:
ngrok http 3000for an app running atlocalhost:3000)