在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:theiterators/akka-http-microservice开源软件地址:https://github.com/theiterators/akka-http-microservice开源编程语言:Scala 99.3%开源软件介绍:Akka HTTP microservice exampleHot update: it's now running on Scala 3! This project demonstrates the Akka HTTP library and Scala to write a simple REST (micro)service. The project shows the following tasks that are typical for most Akka HTTP-based projects:
The service in the template provides two REST endpoints - one which gives GeoIP info for given IP and another for calculating geographical distance between given pair of IPs. The project uses the service ip-api which offers JSON IP and GeoIP REST API for free for non-commercial use. If you want to read a more thorough explanation, check out tutorial. UsageStart services with sbt:
With the service up, you can start sending HTTP requests:
TestingExecute tests using
Author & licenseIf you have any questions regarding this project, contact: Łukasz Sowa [email protected] from Iterators. For licensing info see LICENSE file in project's root directory. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论