{"id":25641998,"url":"https://github.com/adityav42/tributary","last_synced_at":"2026-03-01T15:03:29.939Z","repository":{"id":274207511,"uuid":"922230583","full_name":"AdityAV42/tributary","owner":"AdityAV42","description":"This repo is for FORAGE course on FORD Digital Advanced. ","archived":false,"fork":false,"pushed_at":"2025-01-29T10:41:56.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T05:16:57.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/AdityAV42.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":"2025-01-25T17:00:19.000Z","updated_at":"2025-01-29T10:41:59.000Z","dependencies_parsed_at":"2025-01-25T18:28:13.015Z","dependency_job_id":null,"html_url":"https://github.com/AdityAV42/tributary","commit_stats":null,"previous_names":["adityav42/tributary"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AdityAV42/tributary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityAV42%2Ftributary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityAV42%2Ftributary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityAV42%2Ftributary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityAV42%2Ftributary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdityAV42","download_url":"https://codeload.github.com/AdityAV42/tributary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdityAV42%2Ftributary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:44:57.896Z","status":"ssl_error","status_checked_at":"2026-03-01T14:43:27.662Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-02-23T05:17:00.508Z","updated_at":"2026-03-01T15:03:24.929Z","avatar_url":"https://github.com/AdityAV42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tributary: Backend Infrastructure for Ford's Sensor Streaming System\n\nThis repository contains the code for the **Ford Digital Advanced Job Simulation** project on the **Forage** platform. The focus is on creating a backend system that handles real-time sensor data from vehicles.\n\n## Tech Stack\n\n- **Git and GitHub**: Version control and collaboration\n- **Python (PyCharm)**: Flask server development\n- **Redis**: In-memory database for storing sensor data\n- **Docker Desktop**: Containerization for a consistent environment across all platforms\n\n## Project Overview\n\nThe project implements a **sensor streaming system** for Ford's vehicle data collection, where temperature data from embedded vehicle sensors is captured and streamed in real-time. The backend infrastructure is built using **Flask** to create two endpoints, and **Redis** is used for real-time data storage.\n\n### Server Architecture\n\nThe backend consists of:\n\n- **Flask Server**: A Python-based web server that exposes two RESTful API endpoints:\n  - **`/record`**: Receives periodic data from embedded vehicle sensors and stores it in Redis.\n  - **`/collect`**: Retrieves the most current temperature data and calculates an average value for display on the mobile application.\n  \n- **Redis Database**: An in-memory data store used to store the most recent sensor data and averages.\n\n### Docker Containers\n\nThe project uses **Docker** to containerize both the **Flask server** and **Redis instance**, ensuring consistency across environments. **Docker Compose** is used to run both containers together in a unified environment.\n\n## Key Terms\n\nHere are a few useful terms for this program:\n\n- **Sensor Streaming System**: A technology that captures and transmits real-time data from sensors for monitoring and analysis.\n- **Flask**: A web framework for building servers that expose a clearly defined API to the internet.\n- **Redis**: An open-source, in-memory datastore.\n- **Docker Container**: A self-contained virtual environment that ensures consistent and portable application deployment across different environments.\n- **Dockerfile**: A script that defines the steps to create a Docker container image.\n- **Docker Compose**: A tool for defining and running multicontainer Docker applications using a YAML configuration file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityav42%2Ftributary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityav42%2Ftributary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityav42%2Ftributary/lists"}