Skip to content

ngu04/scalaMicroservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The application is build as micro service which consumes REST/HTTP request and process it to store in MONGODB

Main tools used to build the application are spray.io and reactive Mongo . This is build using scala language .

Code base has 2 types of application using spray .

  1. Using "Service container" which is a lightweight framework that provides the ability to build micro services .It contains a built-in Http server and utilizes both Akka and Spray at it's core. The service container is fully SaaS ready as it provides functionality for recording metrics and for tracking the health of your service.

http://localhost:9092/customer

  1. Using Simple "Spray" for rest-HTTP routing

http://localhost:8080/person

  1. Using "akka-http" for rest-HTTP routing

http://localhost:8080/customer

Both application uses reactive mongo as framework to store json in mongoDB

MongoDB is default configured to run only locally with "plugin" DB

Test is done using spray-testkit which test routing request and response without starting server .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages