Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 2.04 KB

README.md

File metadata and controls

48 lines (27 loc) · 2.04 KB

Unsplash Img Search with React

Welcome 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.

Whether 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.

CodeFactor

see live site here

Netlify Status

Screenshot

Vite-React

API Reference

The official docs on Unsplash can be found here

In order to use this with my site, I created an .env file, and then VITE_API_KEY=<API KEY HERE> and per Vite's requirement, in App.jsx where needed, the code is import.meta.env.VITE_API_KEY

Search photos

  GET /search/photos
Parameter Type Description
query string Search terms

Get item

  GET /photos/:id

Using React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available: