Skip to content

fkowal/akka-http-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akka Http Reverse Proxy

Usage

Start ReverseProxy service running on port 9000 with sbt:

$ sbt
> ~re-start

in second terminal run DemoApp on port 9001

sbt run

With the service up, you can start sending HTTP requests:

Directly to DemoService

$ curl http://localhost:9001/api/person/maciej
{
  "city": "maciej",
  "age": 123
}

Or via Reverse Proxy

$ curl http://localhost:9000/service2/api/person/maciej

Testing

Execute tests using test command:

$ sbt
> test

Author & license

Maciej Kowalski

For licensing info see LICENSE file in project's root directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages