FastyBird IoT user interface node for additional user specific visualisation
User interface node is a microservice for managing user interface, creating visualisations and storing user interfaces presset for web and mobile app clients.
FastyBird user interface node is an Apache2 licensed distributed microservice, developed in PHP with Nette framework.
FastyBird user interface node is tested against PHP 7.4 and ReactPHP http 0.8 event-driven, streaming plaintext HTTP server
NOTE: If you don't want to install it manually, try docker image
$ composer create-project --no-dev fastybird/ui-node path/to/install
$ cd path/to/install
Everything required will be then installed in the provided folder
This microservice has one console command.
$ vendor/bin/fb-console fb:web-server:start
This command is to start build in web server which is listening for incoming http api request messages from clients and is listening for new data from exchange bus from other microservices.
Docker image: fastybird/ui-node
$ docker run -d -it --name devices fastybird/ui-node:latest
$ docker build --tag=ui-node .
$ docker run -d -it --name ui-node ui-node
This microservices is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
|RabbitMQ host address
|RabbitMQ access port
|MySQL server version
|MySQL host address
|MySQL access port
|MySQL database name
|WS server access port
|HTTP server host address
|HTTP server access port
|Security token signature string
NOTE: In case you are not using docker image or you are not able to configure environment variables, you could edit configuration file
This microservice is using database, so database have to be initialise with basic database schema. It could be done via shell command:
$ php vendor/bin/doctrine orm:schema-tool:create
After this steps, microservice could be started with server command
Thank you for testing, reporting and contributing.
For release info check release page