{"id":18711067,"url":"https://github.com/jdmiguel/react_gallery","last_synced_at":"2026-04-09T18:43:27.552Z","repository":{"id":104231841,"uuid":"296282562","full_name":"jdmiguel/react_gallery","owner":"jdmiguel","description":"Image gallery developed with React and Typescript","archived":false,"fork":false,"pushed_at":"2020-09-18T14:11:49.000Z","size":959,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T09:09:53.121Z","etag":null,"topics":["axios","create-react-app","jest","react","react-router","react-testing-library","reacthooks","redux","styled-components","typescript","yarn"],"latest_commit_sha":null,"homepage":"https://jdmiguel-react-gallery.netlify.app/","language":"TypeScript","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/jdmiguel.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":"2020-09-17T09:37:57.000Z","updated_at":"2021-09-14T23:54:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"88d163cd-61f3-40c9-8e8c-4b4a9c5f5875","html_url":"https://github.com/jdmiguel/react_gallery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdmiguel/react_gallery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdmiguel%2Freact_gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdmiguel%2Freact_gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdmiguel%2Freact_gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdmiguel%2Freact_gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdmiguel","download_url":"https://codeload.github.com/jdmiguel/react_gallery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdmiguel%2Freact_gallery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266312188,"owners_count":23909745,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["axios","create-react-app","jest","react","react-router","react-testing-library","reacthooks","redux","styled-components","typescript","yarn"],"created_at":"2024-11-07T12:36:45.284Z","updated_at":"2026-04-09T18:43:22.502Z","avatar_url":"https://github.com/jdmiguel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## REACT GALLERY\n\n### TECHNOLOGIES\n\n- **CREATE-REACT-APP**\n- **YARN**\n- **TYPESCRIPT**\n- **REACT**\n- **REACT HOOKS**\n- **REACT-ROUTER**\n- **REDUX**\n- **REACT-INTERSECTION-OBSERVER**\n- **AXIOS**\n- **STYLED-COMPONENTS**\n- **JEST**\n- **REACT-TESTING-LIBRARY**\n\n### SETUP\n\n* **clone repo**: In your folder, open a new terminal and clone the repo\n* **install dependencies**: Execute *yarn*\n* **run local server**: Execute *yarn start*\n* **create production files**: Execute *yarn build*\n* **run test suites**: Execute *yarn test*\n\n### DEVELOPMENT\n\nFirst, I used CREATE-REACT-APP as build tool with YARN.\n\nThis app was mainly developed with React and Typescript. For the Styles, I used Styled Components.\n\nThe source files are in src folder that is composed of following folders:\n\n- **components**: App components organized by the following folders:\n    * **core**: Presentational components related to UI elements\n    * **layout**: Presentational components related to the layout of the application\n    * **pages**: Container components related to the pages of the application\n- **services**: Api requests\n- **store**: Global state by implementing reducers, actions and actionTypes\n- **helpers**: Reusable values such as types, constants, and mocks\n\n### API\n\nThe [PIXABAY API](https://pixabay.com/api/docs/) was used in this project to implement the service to retrieve a list of random images.\n\n### PERFORMANCE\n\nIn order to improve the performance of the application, I did the following:\n\n- The HomePage loads all the images by using a lazyload by user scroll.\n- I made the most of the UseCallback hook to improve the performace by memoizing some values...\n- Nevertheless, the HomePage displays the stored images in Redux and if they are not available, images are retrieved by consuming the request service.\n\n### TESTING\n\nI added unit tests to Layout and Core components with Jest and React-testing-library.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdmiguel%2Freact_gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdmiguel%2Freact_gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdmiguel%2Freact_gallery/lists"}