Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

service

A simple example service that receives a name and responds with the message:

Hello, {name} from {service name}!

Prerequisites

The service requires that a Netifi Broker instance is running and configued with the following access key and token:

  • Access Key: 9007199254740991
  • Access Token: kTBDVtfRBO4tHOnZzSyY5ym2kfY=

Instructions for starting the Netifi Broker can be found in the main README.

Running the Service

From the root project, run the following command to start the service:

./gradlew :service:run

Note: The client and service can be started in any order. The client will not send data until it detects that the service has started.