Skip to content

ohxyz/zeller-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeller Coding Challenge

This project was bootstrapped with Create React App.

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.

yarn test

Launches the test runner in the interactive watch mode.\

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!

Approach

  • Uses functional components, React hooks to set state and fetch data, styled components to use component-level styles
  • Main App fetches data with Effect hook, updates the state with State hook based on the radio button selection, passed the data to the component 'Customer' to display the name and role of the customer
  • Created a component 'Customer' to display the name and role of the customer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.4%
  • HTML 14.8%
  • JavaScript 4.7%
  • CSS 3.1%