{"id":19522550,"url":"https://github.com/lintangwisesa/react-plotly-favoriot-api","last_synced_at":"2025-04-26T09:32:14.176Z","repository":{"id":55345998,"uuid":"198173602","full_name":"LintangWisesa/React-Plotly-Favoriot-API","owner":"LintangWisesa","description":"A simple Favoriot data visualization using React \u0026 Plotly","archived":false,"fork":false,"pushed_at":"2021-01-05T12:14:57.000Z","size":488,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T10:37:29.741Z","etag":null,"topics":["data-visualization","favoriot","plotlyjs","react"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=_7HsPzlLqNQ","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/LintangWisesa.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-22T07:47:25.000Z","updated_at":"2021-07-28T07:13:21.000Z","dependencies_parsed_at":"2022-08-14T21:42:58.091Z","dependency_job_id":null,"html_url":"https://github.com/LintangWisesa/React-Plotly-Favoriot-API","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/LintangWisesa%2FReact-Plotly-Favoriot-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact-Plotly-Favoriot-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact-Plotly-Favoriot-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FReact-Plotly-Favoriot-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LintangWisesa","download_url":"https://codeload.github.com/LintangWisesa/React-Plotly-Favoriot-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250967298,"owners_count":21515571,"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":["data-visualization","favoriot","plotlyjs","react"],"created_at":"2024-11-11T00:39:34.181Z","updated_at":"2025-04-26T09:32:13.615Z","avatar_url":"https://github.com/LintangWisesa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![simplinnovation](https://4.bp.blogspot.com/-f7YxPyqHAzY/WJ6VnkvE0SI/AAAAAAAADTQ/0tDQPTrVrtMAFT-q-1-3ktUQT5Il9FGdQCLcB/s350/simpLINnovation1a.png)\n\n# Favoriot Data Visualization Using React \u0026 Plotly.js\n\n[![Video Lintang](https://img.youtube.com/vi/_7HsPzlLqNQ/0.jpg)](https://www.youtube.com/watch?v=_7HsPzlLqNQ)\n\n1. Make sure [__*Node.js*__](https://nodejs.org/en/) is installed on your PC, then simply download or clone this repo and install all dependencies:\n\n    ```bash\n    $ git clone https://github.com/LintangWisesa/React-Plotly-Favoriot-API.git\n\n    $ cd React-Plotly-Favoriot-API\n\n    $ npm install\n    ```\n\n#\n\n2. Open your code editor (I'm using [__*Visual Studio Code*__](https://code.visualstudio.com/)), insert your __*Favoriot API key*__ and __*Favoriot device developer ID*__ to the __App.js__ file!\n    \n    - __*API key*__ goes to request headers:\n\n        ```javascript\n        var headers = {\n        headers: {\n            'Content-Type': 'application/json',\n            'apikey': 'your_API_key'\n            }\n        }\n        ```\n\n    - __*Device developer ID*__ goes to request headers:\n\n        ```javascript\n        var dataBody = {\n            device_developer_id: 'your_device_developer_ID',\n            data: {\n                Temperature: this.refs.temp.value,\n                Humidity: this.refs.hum.value,\n                Potentio: this.refs.pot.value\n            }\n        }\n        ```\n        \n#\n\n3. Run the project!\n\n    ```bash\n    $ npm start\n    ```\n\n    The app will be run automatically on http://localhost:3000/. Try to POST some data \u0026 GET the data back from Favoriot!\n\n    ![screenshot](./screenshot.png)\n\n    Enjoy your code~ 😍\n\n#\n\n#### Lintang Wisesa :love_letter: _lintangwisesa@ymail.com_\n\n[Facebook](https://www.facebook.com/lintangbagus) | \n[Twitter](https://twitter.com/Lintang_Wisesa) |\n[Google+](https://plus.google.com/u/0/+LintangWisesa1) |\n[Youtube](https://www.youtube.com/user/lintangbagus) | \n:octocat: [GitHub](https://github.com/LintangWisesa) |\n[Hackster](https://www.hackster.io/lintangwisesa)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Freact-plotly-favoriot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flintangwisesa%2Freact-plotly-favoriot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Freact-plotly-favoriot-api/lists"}