Giter Club home page Giter Club logo

fx-frontend's Introduction

Instructions

Open a terminal and run:

git clone https://github.com/alejochang/fx-frontend.git
cd fx-frontend
npm install
npm run start

You are building a single dealer platform / application which will allow users to make foreign currency trades.

Part 1

Story: As a user, I can input an amount and a currency

Acceptance criteria

  1. The currency is a dropdown selection supporting the following currencies: CAD, GBP, EUR
  2. The artifact shows an X button to clear out the amount but only if you are on a mobile device with a width of 360px or less.
  3. The artifact can be reused in other parts of the application
Part 2

Story: As a user, After entering an amount and selecting a currency, the application should show me a USD equivalent amount. This result should not be part of the artifact above.

Acceptance criteria

  1. The conversion occurs server side
  2. The conversion algorithm: input value multiplied by 2 + a random markup between $0 and $1, ie 0.16
  3. The update from the backend to the UI is async

Bonus:

Part 3

Story: As a user, I should see the rate from the server constantly updating.

Acceptance criteria

  1. The update from the server comes every 100ms
  2. The UI reflects the updated value Notes:
  3. You are encouraged to write the front end in ReactJS and backend in Java but are free to use the technologies you are most comfortable with.
  4. Part 3 is optional and will not result in lost marks.

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.