An open API service indexing awesome lists of open source software.

https://github.com/linux-china/ngrok-spring-boot-starter

Easy to expose a local Spring Boot Application to the internet by ngrok
https://github.com/linux-china/ngrok-spring-boot-starter

ngrok

Last synced: 6 months ago
JSON representation

Easy to expose a local Spring Boot Application to the internet by ngrok

Awesome Lists containing this project

README

          

ngrok-spring-boot-start
=========================
Spring boot starter for ngrok, easy to expose a local Spring Boot Application to the internet

![ngrok with spring boot](.README_images/ngrok-starter.png)

### Usage

* Start local ngrok tunnels: ngrok start --none

* Add ngrok-spring-boot-starter in your pom.xml:
```xml

com.mvnsearch.spring.boot
ngrok-boot-starter
1.0.0-SNAPSHOT

```
* Get public url for spring boot application:

* ngrok web inspection http://localhost:4040 or ngrok terminal console
* ngrok endpoint in spring boot application: http://localhost:8080/ngrok
* public url output in Spring Boot console

### Functions

* ngrok web inspection: http://localhost:4040
* Inspecting your traffic
* Replaying requests

### how it works

The starter automate ngrok via API(http://127.0.0.1:4040/api/)

### References

* ngrok: https://ngrok.com/