Coder Social home page Coder Social logo

bookingtek-react-test's Introduction

Getting Started

This project was made to test candidates on react and redux.

build

Tested on Node v10.15.3. But should work on lower versions. Run npm install. If you see a node-sass binding error after running npm install then try running npm rebuild node-sass.

run

npm start

Should be served on localhost:9000

Instructions

The idea is to display a set of data nicely on a web page. There is a service in the app which when called will return a json object of zipcode information (Not really calling anything - just returning data from zips.json). This data must be displayed on the Zipcode page in a list so that all the information is easily readable.

React Code: The React components for everything else other that the list and list items are already available, but feel free to change any of it. You may import libraries to help, however, try to avoid importing anything that will stop you showing off your work (e.g. like some sort of list-ui library).

Redux Code: Most of the Redux code is already linked up however there are a few things left to complete. These are pointed out below.

This test should be timeboxed for around one to two hours. Dont worry if you don't complete everything.

Zip up your project and send it back - Or push to a github repo and make it accessable for someone to clone and build so we can review.

Tasks:

  • Complete the FetchZipCodesReducer.js so that the data is stored on success.
  • Call the fetchZipCodesAction somewhere in the code so that the service is called.
  • Create a component / set of components which will display a list of zipcodes on the page when the data is successfully returned and stored in redux state.

Bonus tasks (optional):

  • Style the app to make it responsive at desktop and mobile device screen sizes.
  • Import your preferred test runner ( e.g. jest, mocha) and write some unit tests for your new components.

bookingtek-react-test's People

Contributors

drminnaar avatar

Watchers

Jamie Maher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.