Skip to content

relasine/headcount2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeadCount 2.0

This application is a project assigned as a part of the Front End Engineering program at the Turing School of Software and Design. It is fundamentally designed to challenge the developer to simultaneously manage multiple React components combined with having to make some difficult decisions about where and how data should be organized, stored, and manipulated.

The project is centered around a data set of kindergarten test scores organized by year and district that must be cleaned and formatted so that it can be properly deployed in the web app.

HeadCount 2.0 also stresses a focus a test-driven development with requirements that all functions, props, state, conditionals, and JSX rendering be thoroughly tested.

This application was built using the create-react-app boilerplate.

Fundamental Project Goals:

  • Separate application logic into small, testable functions.
  • Create modular, reusable React components.
  • Use propTypes to validate props passed to each component.
  • Write meaningful, comprehensive unit and integration tests.

App Functionality:

  • Clean and deploy the data set as if it were an API call.
  • Write a function to filter the data set by district name.
  • Make pairs of district data comparable via a comparison component.
  • Layout and style the application while keeping an eye for appropriate user experience and design.

main

filter

compare

info

screen shot 2018-10-08 at 11 01 13 am

Process:

I started this project by focusing first on the data set I was working with so that it could be mapped over and leveraged into individual card components. This was followed by writing a simple case-insensitive search function that would allow users to filter the data by district name.

Once the data was made workable, I set about with basic design and layout by creating readable cards for each district data point. This was followed by writing logic to access the filter function via the user interface.

Next I worked on the comparison components that would allow the user to select two different sets of district data so that they could be compared side-by-side.

Each of these steps was taken side-by-side with the associated testing for each component and its logic.

This was followed by design and layout focus, sticking to a clean interface with a mono-color scheme.

Challenges:

This project is deceptively difficult since it requires difficult decisions to be made about how data is stored and manipulated. Some data initially presents as being ideally suited for storing at the granular level but are better kept at a much higher place in the component hierarchy. A specific example of this is with the selected state of each card component. While one can do this at the card level, this makes rendering and interacting with filtered content exceptionally difficult.

About

A test dataset review application create in React.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%