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
,authentication
usingauth0
.- App consist of
Input section
,picture category bar
&list of pictures
withpagination
. Home page
consists ofinput Section
where user canenter picture category
to get a list of pictures.- State management using
react-redux
,redux-thunk
and@reduxjs/toolkit
. (minimalist approach to handling asynchronous logic). - On clicking on the
categories tab
will display therespective category images
. Active category
tab on the tab.- On
hover
over the picturepop
ups theimage info
. Lazy-loading
of images.No Results view
in case ofno results
for user input.Failure view
on 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-app
folder 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