/spanning-react

Spanning Coding Exercise

Primary LanguageJavaScript

Spanning Coding Exercise

Problem Description

Starting with a mockup and provided artifacts:

https://s3.amazonaws.com/spanning_static/engineering/atm.zip

Implement a basic web based ATM (Automated Teller Machine). At a minimum, this web app should offer the following features:

  • Render as closely as possible to the mockup.
  • Enter a PIN and show one credit card as active (color), and all others as inactive (gray).
  • Implement one of the other action buttons (deposit, withdraw, inquiry) which triggers a simple async HTTP call.

Deliverable

Please provide a link to a GitHub repo which contains your work, and instructions on how to start and execute it.

Install

npm install

Run the server

npm start

Run the tests

npm run test