fastybird / ui-node
FastyBird IoT user interface node for additional user specific visualisation
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Type:project
Requires
- php: >=7.4.0
- cweagans/composer-patches: ^1.6
- fastybird/bootstrap: @dev
- fastybird/database: @dev
- fastybird/json-api: @dev
- fastybird/modules-metadata: @dev
- fastybird/rabbitmq-plugin: @dev
- fastybird/simple-auth: @dev
- fastybird/ui-module: @dev
- fastybird/web-server: @dev
Requires (Dev)
- mockery/mockery: ^1.3
- ninjify/nunjuck: ^0.3
- ninjify/qa: ^0.10
- pds/skeleton: ~1.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-doctrine: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-strict-rules: ^0.12.2
- tracy/tracy: 2.7
This package is auto-updated.
Last update: 2024-11-17 20:43:23 UTC
README
What is FastyBird user interface node?
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.
Requirements
FastyBird user interface node is tested against PHP 7.4 and ReactPHP http 0.8 event-driven, streaming plaintext HTTP server
Getting started
NOTE: If you don't want to install it manually, try docker image
The best way to install fastybird/ui-node is using Composer. If you don't have Composer yet, download it following the instructions. Then use command:
$ 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 path/to/install
This microservice has one console command.
HTTP & WS server
$ 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.
Install with docker
Docker image: fastybird/ui-node
Use docker hub image
$ docker run -d -it --name devices fastybird/ui-node:latest
Generate local image
$ docker build --tag=ui-node .
$ docker run -d -it --name ui-node ui-node
Configuration
This microservices is preconfigured for default connections, but your infrastructure could be different.
Configuration could be made via environment variables:
NOTE: In case you are not using docker image or you are not able to configure environment variables, you could edit configuration file
./config/default.neon
Initialization
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
Feedback
Use the issue tracker for bugs or mail or Tweet us for any idea that can improve the project.
Thank you for testing, reporting and contributing.
Changelog
For release info check release page
Maintainers
Homepage https://www.fastybird.com and repository http://github.com/fastybird/ui-node.