Run ngrok
Now, to expose your local server to the internet, use ngrok to create a tunnel. In your terminal, type:
./ngrok http "port_number"
Replace "port_number" with the port number your local server is running on. For example, if your local server is running on port 3000, you would type:
./ngrok http 3000