thearduinoguy
Posts: 4
Joined: Thu Oct 27, 2016 12:39 pm

Local Network app creation advice please

Wed Nov 14, 2018 10:47 am

I have an app I have created in Node Red. The app is served from a Raspberry Pi and accessed via a tablet over a local network in a web browser.

- The app loads in a .csv file which has names, addresses and email addresses.
- The user selects various parameters by clicking buttons on the app (made with the node UI dashboard)
- An email is then sent to the chosen person
- Bits of data are written to a text file after

However, I find that the way the app looks using Node Red is terrible. So, I wanted to use P5.js to create a nice looking interface and perhaps have Node Red do the emails in the background (as that cannot be done from P5.js) but I cannot save to a local file in Javascript.

So, I am now looking at other ways to do the above where the essential parts are :-

- Serve up a nice interface in a web browser
- Have the web interface show data loaded from a .csv file
- Write back to a .csv file based on user input
- Send emails based on user input

Any ideas how I can do this easily please? I thought maybe Python with PyGame, but can Python serve a web interface? Please help. Thanks.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Local Network app creation advice please

Wed Nov 14, 2018 12:03 pm

Welcome to the Raspberry Pi forums.
can Python serve a web interface?
Not only can Python serve a web interface, both python(2) and Python3 as installed with Raspbian come with built-in ready-to-run webserver modules.

But to save you having to build upon those examples you might like to look at:

remigui http://www.remigui.com

Return to “General discussion”