functional-microservice-example
functional-microservice-example copied to clipboard
A working example
Hi Tim
I am using circe lib for handling json encoding and decoding at the service endpoint in your example. This lead me to create a ToDoForm case class with only content as its parameter. "content" already exits in other case class so it feels redundant. Not sure if there is a nicer way to handle this.
Using a RESTClient, I was able to test creating and listing of todo items. Lastly, I changed the http port to 8084 as I was testing.
If you like the changes, please feel free to merge them. Otherwise would appreciate some pointer as to what direction you like the code to change.
Thanks
Steve