{"id":17124061,"url":"https://github.com/jayu/weather-widgets-app","last_synced_at":"2025-03-24T03:16:44.451Z","repository":{"id":118315835,"uuid":"151710881","full_name":"jayu/weather-widgets-app","owner":"jayu","description":"Build with React/Redux Ant design and Node.js","archived":false,"fork":false,"pushed_at":"2018-10-07T12:32:10.000Z","size":277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T05:12:27.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jayu.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":"2018-10-05T11:28:03.000Z","updated_at":"2018-10-07T12:32:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"d35e31b7-75f7-4f51-be67-f5f1b09748e3","html_url":"https://github.com/jayu/weather-widgets-app","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/jayu%2Fweather-widgets-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayu%2Fweather-widgets-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayu%2Fweather-widgets-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayu%2Fweather-widgets-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayu","download_url":"https://codeload.github.com/jayu/weather-widgets-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200706,"owners_count":20576674,"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-10-14T18:41:44.869Z","updated_at":"2025-03-24T03:16:43.891Z","avatar_url":"https://github.com/jayu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How to run\n* Install \n\t* `cd ./client \u0026\u0026 npm install \u0026\u0026 cd ../`\n\t* `cd ./notifications_server \u0026\u0026 npm install \u0026\u0026 cd ../`\n* Run\n\t* Run delivered API -\u003e `cd ./API \u0026\u0026 node index.js`\n\t* Run created webhooks handler -\u003e `cd ./notifications_server \u0026\u0026 npm run start`\n\t* Finnaly run the app -\u003e `cd ./client \u0026\u0026 npm run start`\n\n## What has been done\n\n* Weather app with weather updates feature\n* Minimalistic Node.js backend to handle updates\n* debouncing network calls fired by widget refresh button \n* WeatherWidgets reducer unit testing\n* Widget appear, refresh and delete animations for better UX\n\n## Note about folders structure\n\nProposed folders structure is a kind of overkill in such a small components scope, but I wanted to make the app extensible. The structure is based on an [article](https://medium.com/@alexmngn/how-to-better-organize-your-react-applications-2fd3ea1920f1). I’ve used this structure in my last project and it was convenient.\n\nFolder `./src/scenes/` contains only MainScene scene, but in real-world app would contain major scenes switched by a top-level routing.\n\nThere is also empty `./components/` folder that should contain top-level utility components. I haven't extracted this kind of components because of a small scope of the task. So all created components are related to `MainScene` scene.\n\nI've also decided to treat reducers and API related files as services.\n\nUser reducer is dumb, but I've decided to declare it anyway because didn't want to have a totally hard coded token, which is probably related to some user.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayu%2Fweather-widgets-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayu%2Fweather-widgets-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayu%2Fweather-widgets-app/lists"}