scala

Scala Mongo example with akka-http and akka-stream

Vikas Ve2ma
Introduction In this tutorial we shall create and CRUD web application in Scala. We will use MongoDB Scala Driver to communicate to the mongo database. It is officially supported Scala driver for MongoDB. Along with that we shall create a Rest API using akka-http module and akka-streams. Prerequisites Scala version: 2.13.1 Database: Mongo:3.4.23-xenial Other dependencies About the service/project Application should be able to do CRUD operations on the in mongodb document.

Scala Rest API with akka-http

Vikas Ve2ma
Introduction In this tutorial we shall explore how we can use akka-http to create service with scala. Here we create CRUD service with akka actor and try to see how it work. Versions Scala version: 2.13.1 SBT version: 1.3.4 Other dependencies About the service/project We’ll create two actors that communicate with each other to get the user data and user activity data. Data Classes We need two data classes that keeps the user data and user activity data.