A simple web app that lets users search for photos and videos using an external API. Users can view search results and save their favorite media locally in the browser.
screenshorts can be found in pages folder
- Search for photos from Pexels and Unsplash
- Search for videos from Pexels
- Display results dynamically with React components
- Save favorite media locally using localStorage
- State management with Redux Toolkit
- Styled with Tailwind CSS for a responsive and modern UI
- Works on desktop and mobile devices
- React – UI framework
- Redux Toolkit – state management
- Tailwind CSS – utility-first styling
- JavaScript / JSX – logic and rendering
- Pexels API – photos and videos
- Unsplash API – photos
- localStorage – store saved media in the user’s browser
- react-router --for routing
- User types a search query in the search bar
- react sends a request to the chosen media API using Fetch API
- API responds with photos/videos matching the query
- Results are displayed dynamically on the page
- Users can click Save to store items locally in their browser using localStorage
Note: Saved items are stored on the user's device, so they won’t sync across different devices or browsers.
- Clone the repository:
git clone https://github.com/yourusername/photo-video-searcher.git