This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Our application is distributed via Docker containers, making it easy to install and run in various environments.
Make sure you have Docker installed on your machine. If you don't have it yet, you can download and install it from the official Docker website.
Além disso, é necessário configurar algumas variáveis de ambiente que serão utilizadas pelo programa.
export AWS_ACCESS_KEY_ID=<your_acess_key_id>
export AWS_SECRET_ACCESS_KEY=<yout_secret_acess_key>
export AWS_DEFAULT_REGION=<your_default_region>
- Clone the repo
git clone https://github.com/tinicius/iot-project.git
- Run docker compose
docker compose -f "docker-compose.yml" up -d --build
Para validar todo o fluxo em funcionamento é possivel acessar alguns endpoints que são expostos pela aplicação.
O topico raiz usado pelo projeto é IoTProject/#
HOST: localhost
PORT: 1883
USER: admin
PASSWORD: admin
No RabbitMQ temos a exchange principal IOT_PROJECT
E também duas filas TEMP e HUMIDITY
HOST=localhost
PORT=15672
USER=guest
PASSWORD=guest
Para acessar o api você irá precisar do arquivo server.proto
O servidor está disponivel na rota 0.0.0.0:50051
Distributed under the MIT License.
Vinicius Alves Pereira