{"id":20672313,"url":"https://github.com/pasiol/ruuvi-gateway-nodejs","last_synced_at":"2025-06-11T09:06:57.009Z","repository":{"id":38410331,"uuid":"198802595","full_name":"pasiol/ruuvi-gateway-nodejs","owner":"pasiol","description":"API-server for the Ruuvi tags using NodeJS, Mongoose, and MongoDB. The NodeJS learning project.","archived":false,"fork":false,"pushed_at":"2023-01-06T02:03:11.000Z","size":1306,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T13:51:11.519Z","etag":null,"topics":[],"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/pasiol.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}},"created_at":"2019-07-25T09:38:54.000Z","updated_at":"2020-08-26T15:52:46.000Z","dependencies_parsed_at":"2023-02-05T02:16:43.555Z","dependency_job_id":null,"html_url":"https://github.com/pasiol/ruuvi-gateway-nodejs","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/pasiol%2Fruuvi-gateway-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2Fruuvi-gateway-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2Fruuvi-gateway-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2Fruuvi-gateway-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasiol","download_url":"https://codeload.github.com/pasiol/ruuvi-gateway-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242896279,"owners_count":20203342,"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":[],"created_at":"2024-11-16T20:33:33.657Z","updated_at":"2025-03-10T17:45:06.743Z","avatar_url":"https://github.com/pasiol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruuvi-gateway-nodejs\n\nActing as a gateway between Ruuvitag and the MongoDB database. Data can send between the Ruuvitag and gateway with Ruuvi Station mobile app. Service ruuvi-gateway-nodejs stores data permanently to the MongoDB database.\n\nService allows only POST requests. It not showing stored data.\n\n## Prerequisites\n\nYou need the Ruuvitag device which sends temperature, humidity and pressure data to the connector. A connector can be some Bluetooth LE capable device such for example Rasberry pi, laptop or Android phone.  Connector sending the Ruuvitag data into gateway which acts Rest service for the connector. Gateway stores data permanently to the database.\n\nYou can buy Ruuvitag here: \u003chttps://ruuvi.com/\u003e\n\nRuuvi station app on Google Play store \u003chttps://play.google.com/store/apps/details?id=com.ruuvi.station\u0026hl=en_US\u003e\n\nService working on the endpoint \u003chttp://localhost:8888/api/ruuvi\u003e.\n\nIf you don't have own Ruuvitag, here is link to test data.\n\n\u003chttps://github.com/pasiol/ruuvi-gateway-nodejs/tree/master/requests\u003e\n\n### Database\n\nFor testing purposes, you can run the MongoDB database as a docker container on your laptop.\n\n\u003chttps://docs.docker.com/samples/library/mongo/\u003e\n\nOr you can sign to the MongoDB Atlas cloud service. Which is free for prototyping small scale applications.\n\n\u003chttps://cloud.mongodb.com/user#/atlas/login\u003e\n\n## Docker container for testing enviroments\n\n### Pulling the image from docker hub\n\n    docker pull pasiol/ruuvi-gateway-nodejs:dev\n\n### Running the docker container\n\n    docker run -d -p 8888:8888 --rm --name ruuvi-gateway-nodejs-api -e MONGODB_URI='mongodb://NNN.NNN.NNN.NNN:27017/ruuvi' -e PORT=8888 ruuvi-gateway-nodejs:dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasiol%2Fruuvi-gateway-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasiol%2Fruuvi-gateway-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasiol%2Fruuvi-gateway-nodejs/lists"}