Skip to content

Kwuasimoto/node_ngrok_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node, Express & Ngrok

This example uses Typescript, NodeJS, Express and Ngrok to accept post requests from external resources that require a valid IP Address or domain. Ngrok forwards your localhost addresses to an accessible IP Address.

From Ngrok:

Instantly create a public HTTPS url for a website running locally on your development machine. ngrok offloads TLS so you don't have to worry about your configuration.


Setup

  1. Install Ngrok by visiting their website https://ngrok.com/
  2. Download and save the ngrok.exe cli tool somewhere memorable on your PC. alt text
  3. Copy the Path that points to ngrok.exe and save it under your systems PATH variable. alt text
  4. Run "ngrok" in the terminal to make sure it's locatable alt text
  5. Setup your express server on port 3000
    alt text
  6. Run ngrok with commands pointing to your express server's port (Does not need to be 3000) alt text

About

Node and Ngrok for Webhooks!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published