In this tutorial we will use AdonisJS to build a simple API that will collect the data from the sensors and store it in a Postgres database. This can be used to collect the temperature data of a large number of Raspberry Pi devices. The ORL is called Lucid and we will be using it today.

6m read time From devdojo.com
Post cover image
Table of contents
IntroductionPrerequisitesWhat is AdonisJSHow to install AdonisJSCreating a ControllerAdding our methodsCreating the AdonisJS routesAdding authenticationAdding cron jobs to the Raspberry Pi devicesConclusion
1 Comment

Sort: