This is a simple lagom application which shows the usage of ExceptionSerializer.
Steps to follow to run this application:
- Open the terminal.
- Clone the project
git clone https://github.com/sajitgupta1008/Lagom-Exception-Serializer-Demo.git
. cd Lagom-Exception-Serializer-Demo
.- Execute
mvn clean compile
. - Run the application using
mvn lagom:runAll
.
You can check which services are up by hitting http://localhost:8000/services
. There, you can see that along with cassandra and kafka, services named 'external-service' and 'demo' are also running.
You can now hit the service using postman -
- Hit the service with a GET call using URL - http://localhost:9000/user