All Projects → akka → Akka Http Quickstart Scala.g8

akka / Akka Http Quickstart Scala.g8

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Akka Http Quickstart Scala.g8

Squbs
Akka Streams & Akka HTTP for Large-Scale Production Deployments
Stars: ✭ 1,365 (+1225.24%)
Mutual labels:  akka, akka-http
Akka Http Json
Integrate some of the best JSON libs in Scala with Akka HTTP
Stars: ✭ 530 (+414.56%)
Mutual labels:  akka, akka-http
scala-web-development
Scala Web 开发 - 使用 Akka
Stars: ✭ 42 (-59.22%)
Mutual labels:  akka, akka-http
ssl-config
SSL configuration logic, extracted from Play's WS (for use in Akka et al).
Stars: ✭ 65 (-36.89%)
Mutual labels:  akka, akka-http
Spark As Service Using Embedded Server
This application comes as Spark2.1-as-Service-Provider using an embedded, Reactive-Streams-based, fully asynchronous HTTP server
Stars: ✭ 46 (-55.34%)
Mutual labels:  akka, akka-http
kamon-akka-http
Kamon integration for metrics, context and distributed tracing with Akka HTTP
Stars: ✭ 75 (-27.18%)
Mutual labels:  akka, akka-http
Akka Http Session
Web & mobile client-side akka-http sessions, with optional JWT support
Stars: ✭ 429 (+316.5%)
Mutual labels:  akka, akka-http
akka-http-circe-json-template
Akka HTTP REST API Project Template using Akka HTTP 10.0.4 with Circe 0.7.0 targeting Scala 2.12.x
Stars: ✭ 21 (-79.61%)
Mutual labels:  akka, akka-http
Scale
Another example of a REST API with Akka HTTP
Stars: ✭ 23 (-77.67%)
Mutual labels:  akka, akka-http
Es Cqrs Shopping Cart
A resilient and scalable shopping cart system designed using Event Sourcing (ES) and Command Query Responsibility Segregation (CQRS)
Stars: ✭ 19 (-81.55%)
Mutual labels:  akka, akka-http
ecommerce
A project for exploring Akka with Scala
Stars: ✭ 24 (-76.7%)
Mutual labels:  akka, akka-http
Scala Ddd Example
🎯 λ Hexagonal Architecture + DDD + CQRS applied in Scala using Akka HTTP
Stars: ✭ 86 (-16.5%)
Mutual labels:  akka, akka-http
jwt-akka-http
An example how to implement a very simple authentication and authorization with Akka HTTP. Related to https://blog.codecentric.de/en/2017/09/jwt-authentication-akka-http
Stars: ✭ 23 (-77.67%)
Mutual labels:  akka, akka-http
typebus
Framework for building distributed microserviceies in scala with akka-streams and kafka
Stars: ✭ 14 (-86.41%)
Mutual labels:  akka, akka-http
akka-http-actor-per-request
Example akka application that uses the actor per request model
Stars: ✭ 16 (-84.47%)
Mutual labels:  akka, akka-http
Akka Grpc
Akka gRPC
Stars: ✭ 361 (+250.49%)
Mutual labels:  akka, akka-http
slicebox
Microservice for safe sharing and easy access to medical images
Stars: ✭ 18 (-82.52%)
Mutual labels:  akka, akka-http
khermes
A distributed fake data generator based in Akka.
Stars: ✭ 94 (-8.74%)
Mutual labels:  akka, akka-http
Akka Http Microservice
Example of http (micro)service in Scala & akka-http
Stars: ✭ 701 (+580.58%)
Mutual labels:  akka, akka-http
Akka Http
The Streaming-first HTTP server/module of Akka
Stars: ✭ 1,163 (+1029.13%)
Mutual labels:  akka, akka-http

Akka HTTP quickstart in Scala

Please see the quickstart guide for a walk through the code.

You can use Giter8 to create your own project from the quickstart. Alternatively, you can download a packaged version of this project by clicking "Create a project for me!" on the Lightbend Getting Started page.

Prerequisites:

  • JDK 8
  • sbt 1.3.x or higher

Open a console and run the following command to apply this template:

sbt -Dsbt.version=1.3.13 new akka/akka-http-quickstart-scala.g8

This template will prompt for the following parameters. Press Enter if the default values suit you:

  • name: Becomes the name of the project.
  • scala_version: Specifies the Scala version for this project.
  • akka_http_version: Specifies which version of Akka HTTP should be used for this project. Must be at least 10.2.0.
  • akka_version: Specifies which version of Akka should be used for this project. Must be at least 2.6.0.
  • organization: Specifies the organization for this project.

The template comes with the following sources:

  • QuickstartApp.scala -- contains the main method which bootstraps the application
  • UserRoutes.scala -- Akka HTTP routes defining exposed endpoints
  • UserRegistry.scala -- the actor which handles the registration requests
  • JsonFormats.scala -- converts the JSON data from requests into Scala types and from Scala types into JSON responses

Once inside the project folder use the following command to run the code:

sbt run

Template license

Written in 2017 by Lightbend, Inc.

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].