This project intends to be a micro service running on the Lagom framework. This project contains the microservice implementation neceseary to send messages between two actors with in the system. Currently this is in a proof-of-concept state.
- A consumer can submit a date and time to schedule a massage with a provider
- A provider can list all schedukle appointments
The microservice was built entirely using lagom framework. Following the lagom documentation to the best of my understanding. For more information read the try lagom
There are currently two enpoints as describe below:
-
schedule an appoitment:
POST /api/appointment/:provide
body:
{ "date":"201903031000", "duration":"15", "consumer":"Martin"}
-
check all appointments:
GET /api/appointment/:provide
The data base is a cassandra and is wiped on every run, so there is no long term persistence. This still should be enouh for a proof-of-concept.