This is a Go project for mobile and emmbeded systems class at Federal College of Santa Catarina. Consists in a API gateway with two microservices behind, used to control parameters of the microcontroller and store logs.
It's a simple Go server, acting just as a proxy for the microservices routing the requests based on path.
- Controller: CRUD operations of parameters for the microcontroller.
- Used by the mobile app to see/modify configurations
- Logger: CR operations for logs of the microcontroller
- Getting device logs - used by the mobile app
- Storing device logs
Simple mobile app built with react native, listing all microcontrollers available, exposing one paramaters to changes, as well the microcontroller logs.
Simple microcontroller with a Servro motor (used to simimulate door opening) and PIR motion sensor to open the door.
- Simple build the docker containers:
docker compose build
- Run the containers:
docker compose up
- The app was build with Snack for prototyping. You can simply import it on your snack and start using it.
- The microcontroller was build with Arduino.IDE for prototyping. You can simply import it on your INO and start using it.
- It works with most boards out there.