{"id":22695806,"url":"https://github.com/vhtua/realtimefarmingdata","last_synced_at":"2026-04-10T04:37:04.418Z","repository":{"id":174723226,"uuid":"652635283","full_name":"vhtua/RealtimeFarmingData","owner":"vhtua","description":"A simple web dashboard which updates the farming data in realtime using MQTT","archived":false,"fork":false,"pushed_at":"2023-06-12T15:37:36.000Z","size":2557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T18:50:54.259Z","etag":null,"topics":["css","expressjs","html","javascript","mqtt","nodejs","postgresql","realtime","sql"],"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/vhtua.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":"2023-06-12T13:32:15.000Z","updated_at":"2024-10-15T09:25:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb1fa0e4-ebad-46d9-8a09-4fa3fc50db13","html_url":"https://github.com/vhtua/RealtimeFarmingData","commit_stats":null,"previous_names":["vhtuananh020402/realtimefarmingdata","vhtua/realtimefarmingdata"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhtua%2FRealtimeFarmingData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhtua%2FRealtimeFarmingData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhtua%2FRealtimeFarmingData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vhtua%2FRealtimeFarmingData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vhtua","download_url":"https://codeload.github.com/vhtua/RealtimeFarmingData/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223319,"owners_count":20743165,"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":["css","expressjs","html","javascript","mqtt","nodejs","postgresql","realtime","sql"],"created_at":"2024-12-10T04:12:03.279Z","updated_at":"2025-10-16T13:16:20.862Z","avatar_url":"https://github.com/vhtua.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RealtimeFarmingData\n\n## Requirement\n- Nodejs\n- PostgresSQL\n\n## Run the project\n### 1. Edit your Postgres database login information in the file **_postgresDBinfo.json_**\n\n```json\n{\n    \"user\": \"postgres\",\n    \"host\": \"localhost\",\n    \"database\": \"Enter your database name here\",\n    \"password\": \"Enter your password here\",\n    \"port\": 5432\n}\n```\n\n### 2. Please open 3 terminals on your system\n\n- Terminal 1 (Activate all the sensors):\n\n    ```bash\n    node AllSensorsActivation.js\n    ```\n\n- Terminal 2 (A subscriber listens to all the sensor data through a mqtt server, then it inserts the data into the database system)\n\n    ```bash\n    node Subscriber.js\n    ```\n\n- Terminal 3 (Run the back-end server, the client could access the dashboard interface through this link \u003cmark\u003elocalhost:3000\u003c/mark\u003e):\n    ```bash\n    node Server.js\n    ```\n\nNote that the client user dashboard will automatically live update the data every 3 seconds, you don't need to refresh the page. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvhtua%2Frealtimefarmingdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvhtua%2Frealtimefarmingdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvhtua%2Frealtimefarmingdata/lists"}