git clone <github repository link> //to clone the github repository
npm install //to install all the dependencies required to run application
npm start //to start the application
Configure your own auth on auth0.com
when running on your machine:
- set Allowed Callback Urls:
http://localhost:yourport - set Allowed Logout Urls:
http://localhost:yourport - set Allowed Web Origins:
http://localhost:yourport
Frontend - ReactJS (Redux store & Redux-thunk)
Login,authenticationusingauth0.- App consist of
Input section,picture category bar&list of pictureswithpagination. Home pageconsists ofinput Sectionwhere user canenter picture categoryto get a list of pictures.- State management using
react-redux,redux-thunkand@reduxjs/toolkit. (minimalist approach to handling asynchronous logic). - On clicking on the
categories tabwill display therespective category images. Active categorytab on the tab.- On
hoverover the picturepopups theimage info. Lazy-loadingof images.No Results viewin case ofno resultsfor user input.Failure viewon failure.Responsive
- Followed Github Guidelines
- Made the commits often and made sure the commit messages are concise and specific.
- Included a README file for explaining the project setup, usage instructions.
- Followed Clean Code Guidelines
- The repo is well-organized and easy to navigate
- Followed the
create-react-appfolder structure
- Followed the
- The Application handled all the errors
-
You are required to register yourself as a developer and get the API keys at https://unsplash.com/developers
-
For making the search request and fetching the results use this API https://unsplash.com/documentation#search-photos
- Reference: https://wireframe.cc/2AETjp