Git Product home page Git Product logo

calculator-app's Introduction

CalculatorApp - Front-End My Skills

This is the Front-end for my Calculator Project, the back-end is in: https://github.com/andrade-filipe/calculator-back-end

Made with TypeScript and Angular

The Goal is to do a simple calculator that makes the calculations at the API

Features

DisplayComponent: Keeps the mathematical expression updated to the user ✔️

PadComponent: User has the option to interact with a virtual keyboard ✔️

CalculatorComponent: Organizes Display and Pad to the view, also connects the other child components ✔️

CalculatorService: Communicate with the API ✔️

AppState Interface: is used to show the user if all was loaded correctly from the API ✔️

  • Robust Error Handlers ✔️
    • Wrong Characters ✔️
    • Certificate if Mathematical expression being sent to the back-end is valid ✔️
    • Could not connect with API ✔️
    • HTTP Interceptor ✔️
    • Snack-Bar shows that the system failed to the user ✔️
    • RxJs reactive error handler operators for asyncronous elements ✔️

Update

Permit the user to type the expression through the keyboard (not just the virtual one) and correctly send to the API ✔️

Bug

--> Sometimes <-- you have to click 2 times to clear, solve, or digit through the virtual pad ✔️(Solved)

the requests where being done out of order, so the user would experience some rollback, or wrong value displayed, that's solved ✔️

calculator-app's People

Contributors

andrade-filipe avatar

Watchers

 avatar  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.