Skip to content
/ foobotapi Public

Foobot API to downstream services data propagation

Notifications You must be signed in to change notification settings

pve/foobotapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using the Foobot API with Google Cloud Functions and CD

The Foobot is an indoor air pollution sensor device. Io.Adafruit is a dashboard for IOT.

foobot picture

This code pulls Foobot data from its API and sends it to io.adafruit.com and a Google BigQuery database. As the picture suggests, this is in live production.

The second objective of this code is to demonstrate cloud native development. In this case we are working with 'serverless' functions, including continuous delivery, and this time we are focussing on the Google code ecosystem. More tutorial explanation is in here, where I dissect the full approach theme by theme, topic by topic.

Technologies and techniques used:

  • Google Cloud functions
  • Continuous delivery through Google Cloud Build
  • Automated unit, integration and security testing
  • BigQuery
  • Foobot API, Io.Adafruit API
  • Continuous monitoring through StackDriver
  • Slack integration for build and run notifications
  • Secrets and credentials management in a DevSecOps world
  • Workflow for Python based development (atom, pyenv, pytest, bandit)

You should be able to replicate this setup yourself, if you have accounts for these services.

Continue reading here.

By the way, comments, issues and pull requests welcome.

About

Foobot API to downstream services data propagation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages