Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

ScottMRafferty/cm-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cm-coding-challenge

My response to the cm-coding-challenge @ https://github.com/mcspud/cm-coding-challenge.

Using React, Redux, Reselect

Immutable is listed as a dependency but I haven't actually got round to integrating this yet.

The webpack config is currently set to DEV and will generate the appropriate HTML test page with a link to the JS bundle in public_html/js/dist. A default webpack(ed) bundle is included and exporting the public_html directory locally will enable the app to run in the web page.

NOTE: If building the bundle yourself the webpack config is setup so that the webpack executable is run from within the config folder. This is for historical reasons my side.

In order to get up and running as quickly as possible I've lowered some of the versions of various dependencies and modified the webpack config to allow for module.exports etc...

Search function is a basic indexOf across all record properties (case insensitive I believe although I may have removed that). Search is initiated via enter/return. Sorting works ASC and DESC and by default is off. Pagination is basic but functional.

Finally I've also chosen to fetch the raw data from the github repo and converted it to JSON on the fly in the action rather than load the txt file directly.

Screen

Feedback appreciated.

About

Simple React / Redux Table View App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published