Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.44 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.44 KB

lagom-persistent-read-side

This is a simple lagom application which is used to create user and fetch the details of existing users.

Steps to follow to run this application:

  • Open the terminal.
  • Clone the project git clone [email protected]:DivyaDua/lagom-persistent-read-side.git.
  • cd lagom-persistent-read-side.
  • Execute sbt clean compile.
  • Run the cassandra on your localhost, since embedded cassandra is being disabled here.
  • Run the application using sbt runAll.

You can check which services are up by hitting http://localhost:8000/services. There, you can see that along with cassandra and kafka, service named 'user_service' is also running. And you can check through cqlsh(cassandra query language shell) that keyspace named user is created having usertable.

You can now hit the service using postman -