{"id":19057555,"url":"https://github.com/pktcodes/stock-photos-react-project-v2","last_synced_at":"2026-04-29T20:34:18.105Z","repository":{"id":196293091,"uuid":"692315860","full_name":"pktcodes/stock-photos-react-project-v2","owner":"pktcodes","description":"Stock Photos Project using React - React Query","archived":false,"fork":false,"pushed_at":"2023-09-25T05:51:42.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T19:41:22.485Z","etag":null,"topics":["context-api","css","dark-mode","dotenv","ecmascript","environment-variables","html","javascript","john-smilga","localstorage","react","react-icons","react-query","react-query-devtools","stock-photos","thunder-client","unsplash-api","vite"],"latest_commit_sha":null,"homepage":"https://react-stock-photos-v2-prod.netlify.app","language":"CSS","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/pktcodes.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}},"created_at":"2023-09-16T05:25:44.000Z","updated_at":"2024-10-11T12:02:46.000Z","dependencies_parsed_at":"2023-09-24T05:31:31.597Z","dependency_job_id":"5ea24273-0aa6-46ef-bae1-97ceeafba389","html_url":"https://github.com/pktcodes/stock-photos-react-project-v2","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"f8ac8c622efd40c985d0dbab7baa19e42aec0704"},"previous_names":["praveen-1995/stock-photos-react-project-v2","pktcodes/stock-photos-react-project-v2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pktcodes/stock-photos-react-project-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fstock-photos-react-project-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fstock-photos-react-project-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fstock-photos-react-project-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fstock-photos-react-project-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pktcodes","download_url":"https://codeload.github.com/pktcodes/stock-photos-react-project-v2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fstock-photos-react-project-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["context-api","css","dark-mode","dotenv","ecmascript","environment-variables","html","javascript","john-smilga","localstorage","react","react-icons","react-query","react-query-devtools","stock-photos","thunder-client","unsplash-api","vite"],"created_at":"2024-11-08T23:58:07.092Z","updated_at":"2026-04-29T20:34:18.075Z","avatar_url":"https://github.com/pktcodes.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock Photos 🖼️\n\u003e PROD [Live] : https://react-stock-photos-v2-prod.netlify.app/\n\n#### Stock Photos consists of a straightforward user interface where there is a\n- List of random high-quality images from Unsplash API, by default the images shown are set to 10 and search value is set to cat.\n- **Search form** to query for a specific category of images when filled it and press the **`Submit`** button or enter to submit.\n- **`Loading...`** will be shown while fetching the images, **`There was an error`** if any error has occurred, and **`No Results Found`** when there are no matching results for the query.\n- **Dark Mode** has been implemented where the user can switch between the themes using the **`Toggle`** button which changes the colors of the page accordingly and **Local storage** has been used to persist the preference of the theme when the user revisits the application.\n- Styles are handled by `index.css`, data fetching and manipulation using **React Query** \u0026 **Axios**\n- To run the project locally, clone the repo, `npm install` to install the dependencies, and `npm run dev` to start up the development server on default port 5173.\n\n#### Languages \nHTML, CSS, JavaScript, ECMAScript, React ~ ContextAPI - Hooks ~ useState, useEffect, useContext\n\n#### API Endpoint\nUnsplash - https://api.unsplash.com/\n\n#### Deployment / Hosting\nNetlify\n\n---\n\n*Note: I have developed this project ~ [17] as part of the React and Projects Course taught by John Smilga..*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktcodes%2Fstock-photos-react-project-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpktcodes%2Fstock-photos-react-project-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktcodes%2Fstock-photos-react-project-v2/lists"}