jerrymao15 / react-take-home-test

React Take Home Test for Front End Engineers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DailyPay Front End Engineering Challenge

Welcome Candidate and thank you for taking the time to complete the DailyPay take-home challenge for our senior frontend engineer position

You will have 2 days to complete the assignment. Once you have completed your solution, please reply with a link to a github repository and instructions on how to install / run the application

The goal of this challenge is to build out a "Movie Awards 2021" interactive ballot. Please clone this repository and submit it once you are finished.

Here are the strict rules of this challenge.. you must:

    1. Build an application that displays a list of categories and nominees.
    1. Fetch the ballot data from the provided API. Run yarn backend to start the server and get access to API methods such as getBallotData
    1. When you click on a nominee, we should highlight the nominee and save the selection locally on the client.
    1. If I select my choices for different categories and refresh the page, I should still see my selections highlighted.
    1. Display a button, that when clicked, displays a sidebar with the latest users' selections
    1. Once the user is finished making their selection, they can click on a button and submit the form, displaying a results screen after submission.

Requirements:

    1. All navigation should happen in the same page
    1. Demonstrate use of React hooks and functional components
    1. Utilize CSS/SASS to create the layout of the page
    1. Create components as you feel is best suited for your solution
    1. Demonstrate use of performance best practices when handling large assets / build size

Alt text

Bonuses

    1. Make the layout responsive with at least one breakpoint (your choice as to how it looks on a smaller screen width).
    1. Make it pretty
    1. Make it accessible

Styling Guidelines

  • Use the "Roboto" Google font

  • Use the following colors

    • Page background: #FFFFFF
    • Default/normal font color: #494949
    • Button / sidebar background: #83EDD9

    Good luck and if you have questions, please reach out to us at rafael.freaner@dailypay.com

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn backend

Starts the server which allows the user to access the ballot API.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

React Take Home Test for Front End Engineers


Languages

Language:JavaScript 79.6%Language:HTML 13.9%Language:CSS 6.4%