This Maven project contains the Java code for the article linked above.
Java classes for the intro tutorial are in the org.baeldung.influxdb package.
The test class expects an InfluxDB server to be available on localhost, at the default port of 8086 and with the default "admin" credentials.