{"id":18576738,"url":"https://github.com/njanakiev/iotserver","last_synced_at":"2025-04-10T09:30:37.230Z","repository":{"id":106199307,"uuid":"93660890","full_name":"njanakiev/IotServer","owner":"njanakiev","description":"Data analysis and data visualization of mobile sensor data","archived":false,"fork":false,"pushed_at":"2018-02-08T09:07:06.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T19:06:14.733Z","etag":null,"topics":["d3js","data-visualization","mongodb","nodejs","sensor","sensor-data","udp-server"],"latest_commit_sha":null,"homepage":"http://junior.iotcup.at/projekte/?id=92","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njanakiev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-06-07T17:19:52.000Z","updated_at":"2018-07-16T11:26:21.000Z","dependencies_parsed_at":"2023-03-12T00:01:18.033Z","dependency_job_id":null,"html_url":"https://github.com/njanakiev/IotServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njanakiev%2FIotServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njanakiev%2FIotServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njanakiev%2FIotServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njanakiev%2FIotServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njanakiev","download_url":"https://codeload.github.com/njanakiev/IotServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248191607,"owners_count":21062535,"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":["d3js","data-visualization","mongodb","nodejs","sensor","sensor-data","udp-server"],"created_at":"2024-11-06T23:26:16.636Z","updated_at":"2025-04-10T09:30:37.190Z","avatar_url":"https://github.com/njanakiev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IotServer\n\nThis is a [project submission][iotcup project] for the [IoT Cup][iotcup] and covers data analysis and data visualization of mobile sensor data. \n\n## Getting Started\n\nThis project is seperated into [IotServer][iotserver] and [IotClient][iotclient]. The server is listening on the local network for UDP packages which are send by the [IotClient][iotclient] android application. The IotClient is sending sensor information (accelerometer, gyroscope, magnetic field) which is then processed by the server and stored in a database. The server is serving the visualization of the sensor data at http://localhost:3000, where the data is accessed with [jQuery] via a provided minimal [REST API][restapi]. The visualization is done with the HTML [Canvas][canvas] element and [D3.js][d3].\n\n## Prerequisites\n\nIn order to run the code, the following need to be installed\n\n- [Node.js][nodejs]\n- [MongoDB][mongodb] \n\nThe following Node packages are used\n\n- [body-parser][body-parser]\n- [express][express]\n- [mongodb][mongodb-driver]\n- [monk][monk]. \n\n## Installing\n\nIn order to install the Node packages simpy run\n```\nnpm install\n```\n## Running\n\nThe following command runs the server\n```\nnode index.js\n```\nA simple UDP server [udp_display.js](udp_display.js) for testing puroses can be run with\n```\nnode udp_display.js\n```\nwhich displays all the received packages\n\n## Licence\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n\n[restapi]: https://en.wikipedia.org/wiki/Representational_state_transfer\n[jquery]: https://jquery.com/\n[nodejs]: https://nodejs.org/en/\n[mongodb]: https://www.mongodb.com/\n[body-parser]: https://www.npmjs.com/package/body-parser\n[express]: https://www.npmjs.com/package/express\n[mongodb-driver]: https://www.npmjs.com/package/mongodb\n[monk]: https://www.npmjs.com/package/monk\n[iotcup]: http://junior.iotcup.at/\n[iotcup project]: http://junior.iotcup.at/projekte/?id=92\n[iotclient]: https://github.com/njanakiev/IotClient\n[iotserver]: https://github.com/njanakiev/IotServer\n[canvas]: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API\n[d3]: https://d3js.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjanakiev%2Fiotserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjanakiev%2Fiotserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjanakiev%2Fiotserver/lists"}