This is a service for creating your own mood board by searching for images using keywords, viewing, adding, and removing them.
- Website Visit website
- Github Visit repository
- HTML / CSS / React / API
- State manager: useContext hook
- Third-party libraries: react-icons / react-hook-form / react-router-dom
- Custom hook: "useResize" hook for tracking a screen size
- Sending GET requests to a public API to fetch random photos upon the initial page load, and filtered photos based on a keyword.
- Creating a custom photo list with the ability to add and remove photos.
- Implementing a popup with zoomed photos and options to save or delete the photo.
- Displaying previously saved photos on the search page by changing the "add" button to a "save" button.
- Implementing a custom hook to display a specific number of photos depending on the screen size and load the next set of photos by clicking the "more" button.
- Using the useContext state manager for searching and storing photos.
To set up this project locally, follow the steps below:
-
Clone the Repository:
git clone /~https://github.com/TikhonovaKs/mood-board.git
-
Navigate to the Repository:
cd mood-board
-
Install the required dependencies:
npm install
To run the application in development mode, use the command:
npm start