Rafael Costa
Back to Projects

CF-04

Respire Bem

An interdisciplinary platform to monitor air quality in Itapira/SP neighborhoods using Arduino sensors, featuring an interactive map and real-time data.

Node.jsFastifyTypeScriptNext.jsReactPostgreSQLMongoDBPrismaMongooseDockerGitHub ActionsTailwindMUILeafletNginx

Project Gallery

Respire Bem, imagem 1

About the Project

An interdisciplinary project built in the 3rd semester of the Multiplatform Software Development course at Fatec Itapira. The goal is to monitor air quality in Itapira/SP neighborhoods using Arduino sensors that collect atmospheric pollutant data and display it on an interactive map. The architecture follows the Routes → Controllers → UseCases → Repositories pattern, with a hybrid database: PostgreSQL for relational data (users and sensors) and MongoDB for time-series sensor readings. The frontend uses Leaflet to render the interactive monitoring map. The system includes real-time data simulation, a demo account with write-blocking middleware, and automated deployment via push to main with GitHub Actions.

Challenges

Integrating two databases with different purposes (relational and time-series), keeping the map updated in real time, and isolating the demo environment without duplicating business logic.

Results

A live system with an interactive map showing air quality per neighborhood, a fully automated CI/CD pipeline, and a hybrid architecture separating operational data from time-series data.