This project is designed to test potential Boldist Web Developer candidates on the following concepts and should take about 4 hours to complete.
- React-Redux
- Making API Calls
- Setting Up An Express.js Backend
- Bug Fixing
Start by installing all dependencies using npm install
.
Next, solve the following problem in order to complete the exersise.
We are trying to build a simple React app that renders information retrieved from the Random User API. Currently, we are calling the API on the frontend, inside of the user.js
component. However, we would to make 2 changes:
- Call the API from our mini Express.js backend using a new file.
- Create the appropriate actions and reducers to retrieve the response from the previously created backend file. then, update the
user.js
component using that response.
The final implementation should result in the user being updated on page load by retrieving data from the backend file using Redux.
© Boldist 2022