Created
January 21, 2016 15:06
-
-
Save dborovikov/6def35ce67469e4414f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object HelloWorld extends App { | |
| implicit val system = ActorSystem() | |
| implicit val executor = system.dispatcher | |
| implicit val materializer = ActorMaterializer() | |
| val routes: Route = path("check") { | |
| get { | |
| complete("Hello, World") | |
| } | |
| } | |
| Http().bindAndHandle(routes, "0.0.0.0", 8081) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment