{"id":22386911,"url":"https://github.com/codelikeagirl29/unsplash-react","last_synced_at":"2025-03-26T20:45:08.350Z","repository":{"id":257097314,"uuid":"857313097","full_name":"CodeLikeAGirl29/unsplash-react","owner":"CodeLikeAGirl29","description":"Welcome to my image search site, built with React and powered by the Unsplash API! ","archived":false,"fork":false,"pushed_at":"2024-12-16T19:02:50.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T02:41:53.647Z","etag":null,"topics":["api","axios","codefactor","image-search","netlify","react","unsplash"],"latest_commit_sha":null,"homepage":"https://unsplash-img-search-react.netlify.app/","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/CodeLikeAGirl29.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":"2024-09-14T10:17:05.000Z","updated_at":"2024-12-16T19:02:54.000Z","dependencies_parsed_at":"2024-09-14T21:03:18.090Z","dependency_job_id":"1326422b-3f87-4987-b967-7ba7e332a9fc","html_url":"https://github.com/CodeLikeAGirl29/unsplash-react","commit_stats":null,"previous_names":["codelikeagirl29/unsplash-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLikeAGirl29%2Funsplash-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLikeAGirl29%2Funsplash-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLikeAGirl29%2Funsplash-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeLikeAGirl29%2Funsplash-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeLikeAGirl29","download_url":"https://codeload.github.com/CodeLikeAGirl29/unsplash-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245734111,"owners_count":20663637,"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","codefactor","image-search","netlify","react","unsplash"],"created_at":"2024-12-05T02:07:07.352Z","updated_at":"2025-03-26T20:45:08.321Z","avatar_url":"https://github.com/CodeLikeAGirl29.png","language":"JavaScript","readme":"# Unsplash Img Search with React\n\nWelcome to my image search site, built with React and powered by the Unsplash API! This dynamic platform allows you to effortlessly search for high-quality images and photos from Unsplash’s vast library. The user interface is designed with CSS styling, ensuring a sleek, responsive, and visually appealing experience across devices.\n\nWhether you're looking for inspiration, specific visuals, or simply browsing, my site offers a seamless, fast, and enjoyable way to explore the world of photography.\n\n[![CodeFactor](https://www.codefactor.io/repository/github/codelikeagirl29/unsplash-react/badge)](https://www.codefactor.io/repository/github/codelikeagirl29/unsplash-react)\n\n\u003e see live site [here](https://unsplash-img-search-react.netlify.app/)\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/8dadd2e3-fe29-442f-a693-c27e5415c2ee/deploy-status)](https://app.netlify.com/sites/unsplash-img-search-react/deploys)\n\n## Screenshot\n\n![Vite-React](https://github.com/user-attachments/assets/1369a962-7353-4bfc-b091-28f8c13ae329)\n\n\n## API Reference\n\nThe official docs on Unsplash can be found [here](https://unsplash.com/documentation)\n\nIn order to use this with my site, I created an ```.env``` file, and then ```VITE_API_KEY=\u003cAPI KEY HERE\u003e``` and per Vite's requirement, in ```App.jsx``` where needed, the code is ``` import.meta.env.VITE_API_KEY```\n\n#### Search photos\n\n```http\n  GET /search/photos\n```\n\n| Parameter | Type     | Description                |\n| :-------- | :------- | :------------------------- |\n| `query` | `string`   | Search terms\n\n#### Get item\n\n```http\n  GET /photos/:id\n```\n\n\n### Using React + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelikeagirl29%2Funsplash-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodelikeagirl29%2Funsplash-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelikeagirl29%2Funsplash-react/lists"}