Git Product home page Git Product logo

phone-dialer-app's Introduction

Getting started

Here the instruction to get start the project.

This project has been built using Angular-cli. For any issues related to this, install it globally

npm install -g @angular/cli

Setup

Install node modules

npm install

Once everything has been installed succesfully, build the project

npm start

Open your browser and go to http://localhost:4200 to display the demo.

Tech

  • Angular 2
  • Typescript
  • Bootstrap 4
  • RxJs / Observable
  • Lodash

Frontend CodeTest

Please create a basic dialer UI component, implementing the interface as designed in the provided mockup.

The UI should be fully responsive so that the width and height can adapt to different use cases and viewports.

Only the 'Dial' and 'Hangup' buttons have a fixed size of 35px X 122px

The initial interface consists of a keypad and an phone number input.

keypad

The dial button should switch the UI in to "oncall" state. Clicking the dial button should emulate a call that lasts 10 seconds. The "oncall" UI state is provided as follow:

oncall

Clicking the hangup button should terminate the call early, reverting the ui to the initial keypad immediately.

At the end of any call the component should invoke a callback reporting following arguments:

  • The total count of calls made
  • The 3 most called numbers with call count foreach sorted by call count.

Every call started with the dial button has to be counted against the corresponding phone number.

phone-dialer-app's People

Stargazers

Vincent Hou avatar Conner Simmons 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.