/image-search

Image search with error handling, pagination and loading spinner

Primary LanguageJavaScript

Image Search

Project to test React with Axios, data fetching error handling, pagination, loading spinner and enviroment variables.

image

To-do

  • Refactor component states for better atomicity
  • Enhance image grid design
  • Implement React.memo method
  • Implement useCallback hook
  • Implement useMemo hook
  • Implement custom fetch hook

Running the Project

To get started, fork the repository and rename the file ".env-example" to ".env" and fill in information about your API key.

Then, run the following commands:

npm install
npm run start

Additional Information

All project images are free stock photos provided by Pexels API