{"id":20948665,"url":"https://github.com/nicolasdra/autocomplete-app","last_synced_at":"2026-04-27T14:31:06.380Z","repository":{"id":124000040,"uuid":"392560329","full_name":"NicolasdRa/autocomplete-app","owner":"NicolasdRa","description":"A basic auto-complete list which will be updated dynamically while the user types in a search box. The result will be comprised of products displayed ina table. Stack: React Hooks, Material-UI","archived":false,"fork":false,"pushed_at":"2021-08-06T18:01:13.000Z","size":910,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T14:47:28.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/NicolasdRa.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":"2021-08-04T05:25:01.000Z","updated_at":"2023-03-08T23:11:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d49e966-9ae3-4a71-8565-d76af7987ad4","html_url":"https://github.com/NicolasdRa/autocomplete-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NicolasdRa/autocomplete-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasdRa%2Fautocomplete-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasdRa%2Fautocomplete-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasdRa%2Fautocomplete-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasdRa%2Fautocomplete-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicolasdRa","download_url":"https://codeload.github.com/NicolasdRa/autocomplete-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasdRa%2Fautocomplete-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32341447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":[],"created_at":"2024-11-19T00:22:55.268Z","updated_at":"2026-04-27T14:31:06.361Z","avatar_url":"https://github.com/NicolasdRa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autocomplete App\n\nThis project was created with [React Hooks, Typescript \u0026 Material UI](https://github.com/NicolasdRa/autocomplete-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\\\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\n\nYou may serve it with a static server:\n\n    ### `npm install -g serve`\n    ### `serve -s build`\n  \n    or just run  \n\n    ### `npx serve build`\n\n\n## General\n\n* Product feed file (products.csv) is parsed and converted into JSON by means of the `react-papaparse` library in a useEffect hook in the `App` component. Alternatively, it could have been processed and served through a mock server like json server, the data fetched in the same useEffect hook and the date fed to the local state in the same way. \n\n* The app is a `PWA`, and has been optimized bringing lighthouse report values to high scores (96, 98, 100, 100). Further optimization can still be made to bring all values to a 100. \n   \n* `Testing` has been implemented with `Jest` and `Enyzme`. Spnapshot tests and a selection of functionality tests have been implemented. Further tests can still be implemented with more time.\n\n## Components and functionality\n\n* Search component filters by product name and price.\n* Dynamic pagination implemented with options to display from 5 to 200 rows per page.\n* Rows display required info and is expandable showing a photo gallery of the product\n\n## Optional features\n\n* `gender` filter implemented.\n* `sale_price` checkbox filter implemented.\n* images are natively lazy loaded by browsers\n* Being a PWA loaded images are cached and are accessible offline served by the service worker.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasdra%2Fautocomplete-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasdra%2Fautocomplete-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasdra%2Fautocomplete-app/lists"}