{"id":21697486,"url":"https://github.com/silvestrevivo/react-wend","last_synced_at":"2026-04-11T18:08:22.431Z","repository":{"id":97115972,"uuid":"143519316","full_name":"silvestrevivo/react-wend","owner":"silvestrevivo","description":"Small react application fetching data from https://openweathermap.org/api to show custom results","archived":false,"fork":false,"pushed_at":"2018-08-07T13:27:49.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T14:23:20.259Z","etag":null,"topics":["api","axios","css-transitions","reactjs","redux","sass","thunk"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/silvestrevivo.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":"2018-08-04T10:23:18.000Z","updated_at":"2018-08-07T13:27:50.000Z","dependencies_parsed_at":"2023-04-27T22:51:01.204Z","dependency_job_id":null,"html_url":"https://github.com/silvestrevivo/react-wend","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/silvestrevivo%2Freact-wend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvestrevivo%2Freact-wend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvestrevivo%2Freact-wend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silvestrevivo%2Freact-wend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silvestrevivo","download_url":"https://codeload.github.com/silvestrevivo/react-wend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637101,"owners_count":20485446,"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":["api","axios","css-transitions","reactjs","redux","sass","thunk"],"created_at":"2024-11-25T19:27:58.772Z","updated_at":"2026-04-11T18:08:22.386Z","avatar_url":"https://github.com/silvestrevivo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"120\" height=\"120\"\n    src=\"https://sandstorm.de/_Resources/Persistent/3285416e8503b2c8354c321bcd690cf550b8b2d3/React-Logo.svg\"\u003e\n  \u003ca href=\"https://www.wend.nl/\"\u003e\n    \u003cimg width=\"400\" height=\"120\"\n      src=\"https://uploads-ssl.webflow.com/55926763654c69dc323a9764/5648e004100234bf2051f938_5502df575885f7ec108c8a98_wend.png\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eReact Wend\u003c/h1\u003e\n\u003c/div\u003e\n\n\nThis is an small excercise in React which consists in an application fetching data from https://openweathermap.org/api to show results about the weather forecast for the next 5 days. To check it out, download the master branch and then:\n\n\n    $ yarn\n\n    $ yarn dev\n\nFor production:\n\n    $ yarn run build\n\n## Explanation\n\nThis project is based in __React + Webpackt4__. For more information about how the webpack configuration is done, please visit [webpack4 respository][1] from this GitHub account. In general lines, the bundler compiles JavaScript based on Babel, CSS with PostCSS/nano and there are configurations for development and production. Eslint is configured following the [AirBnb][2] standard, defining in VSCode the Prettier custom style as well.\n\nTo call the server is used __Axios__ as library to use promises for catching data. This way is more complete than the simple __fetch()__ methode from native JavaScript. For more information about this, please visit the next personal [repository][3] with an explanation which is showing the differences between both methods.\n\n## Steps in development\nThe application was done previously using the _state_ of the _stateful component_ from the __app.js__ file. Once that this was ok, it was the __CSSTransition__ library implemented to show each element with a simple animation. Then was completed with the style using __SASS__.\n\nThe last step was to migrate the local state to __REDUX__ _thunk_. There are one action with two types, with the aim to delete the results eacht time a new searching is done. Otherwise, the animation would be visible just once.\n\n\n[1]: https://github.com/silvestrevivo/webpack4-starter\n[2]: https://github.com/airbnb/javascript\n[3]: https://github.com/silvestrevivo/axios-demo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilvestrevivo%2Freact-wend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilvestrevivo%2Freact-wend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilvestrevivo%2Freact-wend/lists"}