The place where random ideas get written down and lost in time.

2021-10-11 - RPiscine project

Category DEV

An update on Projet RPiscine aka Piscine 2:

  • Python service: access RPi PiFace, store data, expose data via REST JSON.
  • React JS served via nginx to connect to the Python service + visualize the data.

This worked very well. The “backend vs frontend” split was good.

The setup allows for a local react dev on laptop, build on laptop, then push the build site to the RPi.

This runs on an RPi 1 B (the older kind), with Debian buster, and using systemctl services for the python wrapper. Also a reverse-ssh service wrapper is created, which works very nicely. Using the new systemctl service is a nice improvement over the old initd scripts.


 Generated on 2025-01-18 by Rig4j 0.1-Exp-f2c0035