If you center things around a relational database, it makes things easier when building out modules applications. All module applications will have one thing in common which is db.
for example:
- sender console app (Job is to gather info from raspberry pi and send results to listener console app)
- listener console app (Job is to receive input from sender console applications and stores to db)
- web app (User interface to interact with data stored in db)