GitXplorerGitXplorer
k

example-akka-http

public
14 stars
12 forks
0 issues

Commits

List of commits on branch master.
Unverified
9f8201f5bd094c462933020f8c8c31795137ca6a

Added JavaDSL example

kktoso committed 9 years ago
Unverified
1b44f138ca3952a5bd464484369a4f05542a9fe4

add all the files (binary, aaa!)

kktoso committed 9 years ago
Unverified
617da524d92402b40346dad7aa46afa2377a4b76

Added sbt build and docker container (docker:publishLocal)

kktoso committed 9 years ago
Unverified
1ef3323f2f10e596f6c441c99b15cc8f75f82002

Initial commit, Maven sample

kktoso committed 9 years ago

README

The README file for this repository.

Akka HTTP example using Maven and Scala

This is an example app showing how to use Akka HTTP with Maven and Scala (and ScalaTest).

Building docker container

Simply do sbt docker:publishLocal

Running

You can run this example using

$ mvn exec:java

Which will run the com.example.TestServer application which binds the HTTP server to port 8080.

Testing

Testing is as simple as you'd expect it to be - simply run mvn test to run the ScalaTest tests.

Reference docs

For detailed documentation about Akka HTTP refer to its reference documentation.

And you may want to read about testing using ScalaTest.

License

Apache 2.0

Konrad 'ktoso' Malawski