{"id":26816521,"url":"https://github.com/gfrancodev/mygrid","last_synced_at":"2026-06-20T04:31:24.443Z","repository":{"id":46943759,"uuid":"379726754","full_name":"gfrancodev/MyGrid","owner":"gfrancodev","description":"Gateway AWS IotCore to Mongodb. Real-time data transition.","archived":false,"fork":false,"pushed_at":"2023-02-03T17:54:44.000Z","size":137,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T21:41:55.113Z","etag":null,"topics":["aws-iot-core","iot","nodejs","solid","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfrancodev.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":"2021-06-23T20:53:50.000Z","updated_at":"2023-11-18T03:27:59.000Z","dependencies_parsed_at":"2025-03-30T03:31:26.008Z","dependency_job_id":null,"html_url":"https://github.com/gfrancodev/MyGrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gfrancodev/MyGrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfrancodev%2FMyGrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfrancodev%2FMyGrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfrancodev%2FMyGrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfrancodev%2FMyGrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfrancodev","download_url":"https://codeload.github.com/gfrancodev/MyGrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfrancodev%2FMyGrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-iot-core","iot","nodejs","solid","typescript"],"created_at":"2025-03-30T03:20:21.718Z","updated_at":"2026-06-20T04:31:24.406Z","avatar_url":"https://github.com/gfrancodev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eMyGrid\u003c/h1\u003e\n\nGateway AWS IotCore to Mongodb.\n\n\u003cimg align=\"center\" width=\"60%\" src=\"https://i.imgur.com/au2N991.jpg\" alt=\"MyGrid\"\u003e\u003cbr\u003e\n\nThe Service captures any data payload sent directly by the Amazon AWS Iot Core and sends\u003cbr\u003e\nit to a database in Mongodb. The transferred data can be displayed in real time on the terminal.\u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n\u003cH3\u003eEXECUTION COMMANDS\u003c/H3\u003e\n  \n\u003ccode\u003enpm run build\u003c/code\u003e = Transpilation with babel ts for js.\u003cbr\u003e\n\u003ccode\u003enpm run dev\u003c/code\u003e = Run in development environment.\u003cbr\u003e\n\u003ccode\u003enpx pm2-runtime dist/index.js\u003c/code\u003e = Running in production environment.\u003cbr\u003e\u003cbr\u003e\n\n\u003cH3\u003ePERFORMANCE\u003cH3\u003e\n  \u003cimg src=\"https://i.imgur.com/oozDx3O.jpg\" alt=\"MyGrid\"\u003e\u003cbr\u003e\u003cbr\u003e\n  \n  The application proved to be promising, with low latency in the event loop, \u003cbr\u003e\n  low CPU and memory consumption at short, medium and long periods of use.\u003cbr\u003e\u003cbr\u003e\n\n\u003cH3\u003eENVIRONMENT\u003cH3\u003e\n  \nFor easy manipulation of the script, without necessarily having to make direct contact \u003cbr\u003e\nwith the code when making a simple change. Everything that is necessary for proper functioning \u003cbr\u003e\nmust be inserted in the other environment variables :\u003cbr\u003e\u003cbr\u003e\n\nVariable to define the time of receipt of data according to your zone:\u003cbr\u003e\nForgot you time Zone? \u003ca href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\"\u003eView your time zone here.\u003c/a\u003e\u003cbr\u003e\n\u003cpre\u003e\nTIMEZONE= Ex: America/Sao_Paulo\n\u003c/pre\u003e\u003cbr\u003e\u003cbr\u003e\n  \nVariable to set connection URI with Mongodb:\n\u003cpre\u003e\nMONGOO_URI= mongodb+srv://\u003cUser\u003e:\u003cPassword\u003eG@server.mongodb.net/\u003cDatabase\u003e?retryWrites=true\u0026w=majority\n\u003c/pre\u003e\u003cbr\u003e\u003cbr\u003e\n\nVariables to define the connection to AWS IOT CORE via MQTT server.\u003cbr\u003e\nNot familiar with AWS IOT CORE? \u003ca href=\"https://aws.amazon.com/iot-core/\"\u003eMeet here\u003ca\u003e\u003cbr\u003e\u003cbr\u003e\n\n**NOTE:** Files referring to certificates and authentication keys must be informed by their storage url.\u003cbr\u003e\n\u003cpre\u003e\nIOT_CORE_CERTPATH_URL= Ex:  https://www.exemple.com/certPath.txt \nIOT_CORE_KEYPATH_URL= Ex:  https://www.exemple.com/key.txt \nIOT_CORE_CATH_URL= Ex:  https://www.exemple.com/ca.txt \nIOT_CORE_HOST= Ex: Your Custom Endpoint\nIOT_CORE_CLIENT_ID=  Ex: Your Unique ClientI dentifier \nIOT_CORE_TOPIC= Ex: Your Topic\n\u003c/pre\u003e\u003cbr\u003e\u003cbr\u003e\n \n\nTo monitor application status, PM2 is a service that allows us to do real-time monitoring.\u003cbr\u003e\nIf you don't have an account, create a PM2 account right now \u003ca href=\"https://id.keymetrics.io/api/oauth/register\"\u003eCreate an account here\u003c/a\u003e. \u003cbr\u003e\n\u003cpre\u003e\nPM2_PUBLIC_KEY= Your Public Key\nPM2_SECRET_KEY= Your Secret Key\n\u003c/pre\u003e\n\n\u003ch3\u003eDATABASE STRUCTURE\u003ch3\u003e\nVery simple and dynamic structure, which allows accepting any data source provided by AWS Iot Core.\u003cbr\u003e\u003cbr\u003e\n\u003cpre\u003e\n{\n  _id: Object Id\n  logs: Object that accepts any parameter\n  createdAt: Date Time ISO\n }\n\u003c/pre\u003e\u003cbr\u003e\u003cbr\u003e\n\n\n\u003cp align=\"center\"\u003eMicroservice powered by gfrancodev for Mygrid\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfrancodev%2Fmygrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfrancodev%2Fmygrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfrancodev%2Fmygrid/lists"}