Node-RED: Creating the backoffice interface
This documentation is part of the Use case: connect mailboxes guide. You can view the complete guide here: Seamlessly connect hundreds of mailboxes in a post office.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Node-RED cloud solution that provides a host of benefits, including:
- MQTT server included (Mosquitto).
- Full access to Node-RED admin UI.
- Node-RED Dashboard included.
- Unlimited and dedicated SMTP email server included.
- Effortless updates with just a click.
- Customisable domain name secured with HTTPS (for example, https://node-red.your-company.com).
- Optimal performance and robust security powered by a private and dedicated VM.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Node-RED cloud hosting solution!
The backoffice interface is utilised by post office operators. They can add a new button with an associated email or remove one as needed.
Node-RED includes an HTTP server, allowing the creation of HTML pages and APIs with minimal effort.
Node-RED backoffice flow
The entire backoffice interface was developed directly within Node-RED. It consists of an HTML page with authentication and an API with two routes. The first API route allows for the addition of a new button, while the second route facilitates the removal of an existing button.