Collects data from iot devices Implemented in rust with rocket
- switch to nightly "rustup override set nightly"
- cargo run|build to run or build
cargo test --tests unittest
cargo test --tests integrationtest -- --test-threads=1
See documentation
- RUST_IOT_ENVIRONMENT: PRODUCTION|TEST
- SQL_USERNAME: username for database
- SQL_PASSWORD: password for database
- SQL_HOST: mysql host
- SQL_DB_NAME: database name
- SQL_USERNAME_TEST: username for test database
- SQL_PASSWORD_TEST: password for test database
- SQL_HOST_TEST: mysql test host
- SQL_DB_NAME_TEST: test database name