February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will perform the following steps to develop our Reactive System's frontend (wf-frontend) microservice:
case class WFForm(city: String, temperature: String)
object WFForm {
val wfForm = Form(mapping(
"city" -> nonEmptyText,
"temperature" -> nonEmptyText
)(WFForm.apply)(WFForm.unapply))
}
abstract class WebGateway @Inject()(context: Context) extends BuiltInComponentsFromContext(context) with I18nComponents with AhcWSComponents with LagomServiceClientComponents { override lazy val serviceInfo: ServiceInfo = ServiceInfo( "wf-frontend", Map( "wf-frontend" ...