{"id":24741068,"url":"https://github.com/dudaborges/prevac","last_synced_at":"2026-04-10T04:52:12.520Z","repository":{"id":246711173,"uuid":"821936836","full_name":"dudaborges/prevac","owner":"dudaborges","description":"The Prevac is a real-time industrial safety system that uses a sophisticated network of IoT sensors for continuous temperature and pressure monitoring.","archived":false,"fork":false,"pushed_at":"2024-07-03T22:09:40.000Z","size":20908,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T23:48:57.192Z","etag":null,"topics":["docker","fastapi","postgresql","python","react","tortoise-orm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dudaborges.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-29T21:17:17.000Z","updated_at":"2024-12-19T14:15:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f8f5091-d273-470b-a417-361664b1c1a5","html_url":"https://github.com/dudaborges/prevac","commit_stats":null,"previous_names":["dudaborges/prevac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudaborges%2Fprevac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudaborges%2Fprevac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudaborges%2Fprevac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudaborges%2Fprevac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dudaborges","download_url":"https://codeload.github.com/dudaborges/prevac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013995,"owners_count":20547181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","fastapi","postgresql","python","react","tortoise-orm"],"created_at":"2025-01-27T23:48:56.898Z","updated_at":"2025-12-30T20:41:17.711Z","avatar_url":"https://github.com/dudaborges.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prevac\n\nThe **Prevac** is a real-time industrial safety system that uses a sophisticated network of IoT sensors for continuous temperature and pressure monitoring. The system provides an intuitive dashboard for monitoring, instant alerts in case of anomalies, detailed reports, and automatic shutdown in critical situations, ensuring compliance with regulatory standards.\n\n### Features\n\n- **Continuous Monitoring:** Track safety in real-time through an intuitive dashboard.\n- **Instant Alerts:** Receive immediate notifications upon detecting anomalies.\n- **Risk Reports:** Detailed reports on the presence of people in hazardous areas.\n- **Regulatory Compliance:** Alignment with regulatory standards.\n\n## Main Technologies\n\n- **Python** v3.9.13\n- **FastAPI** v0.97.0\n- **React JS** v18.0.0\n- **Node.js** v20.11.1\n- **Docker** v20.10.11\n\n\n## How to Run the Project\n\n- To run the project, you need to have Docker Desktop installed on your machine.\n\n\u003cp\u003e\u003cstrong\u003eBuild the images and spin up the containers:\u003c/strong\u003e\u003c/p\u003e\n\n```\n$ docker-compose up -d --build\n```\n\n\u003cp\u003e\u003cstrong\u003eCreate a local database:\u003c/strong\u003e\u003c/p\u003e\n\n```\n$ docker-compose exec backend aerich init -t src.database.config.TORTOISE_ORM\n```\n```\n$ docker-compose exec backend aerich init-db\n```\n\n\u003cp\u003e\u003cstrong\u003eRemove the comments from the Dockerfile located at services/backend/Dockerfile and run the containers again\u003c/strong\u003e\u003c/p\u003e\n\n```\n$ docker-compose up -d --build\n```\n\n\u003cp\u003e\u003cstrong\u003eAcesse http://localhost:3000 para visualizar no navegador o frontend.\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp\u003e\u003cstrong\u003eAcesse http://localhost:5000/docs para visualizar no navegador a API.\u003c/strong\u003e\u003c/p\u003e\n\n\n## Models and Migrations\n\n\u003cp\u003e\u003cstrong\u003eIf you make changes to the model, run this command to update the database:\u003c/strong\u003e\u003c/p\u003e\n\n```\n$ docker-compose exec backend aerich migrate\n```\n```\n$ docker-compose exec backend aerich upgrade\n```\n\n# Login credentials\n- Administrator User:\n  \nEmail: teste@prevac.com \u003cbr\u003e\nPassword: stefani123\n\n- Regular user:\n\nEmail: mariaeduarda@prevac.com \u003cbr\u003e\nPassword: maria123\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudaborges%2Fprevac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdudaborges%2Fprevac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudaborges%2Fprevac/lists"}