Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktoso/example-akka-http
https://github.com/ktoso/example-akka-http
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ktoso/example-akka-http
- Owner: ktoso
- Created: 2015-10-12T22:41:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T15:58:35.000Z (about 9 years ago)
- Last Synced: 2024-04-16T10:21:10.333Z (9 months ago)
- Language: Shell
- Size: 17 MB
- Stars: 14
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala.html).
And you may want to read about [testing using ScalaTest](www.scalatest.org/user_guide/using_matchers).
License
-------
Apache 2.0Konrad 'ktoso' Malawski