Coder Social home page Coder Social logo

yan-fung / tech-test-expense-tracker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 195 KB

A technical task for a Junior Developer role for Invosys.

Home Page: https://tech-test-expense-tracker.vercel.app

HTML 4.52% JavaScript 67.49% CSS 27.99%
react javascript

tech-test-expense-tracker's Introduction

Technical Task for Invosys

Introduction

A technical task as part of an interview for Invosys.

My task involved building a new React Component to represent the image provided. The component will be used to integrate to an endpoint which will provide the following information:

  • Daily Spend Limit (ยฃ100)
  • Current Spend (ยฃ25)
  • List of (up to 4 and at least 1) email addresses
  • List of (up to 4) mobile numbers

The component has the capability to use local storage. It should be written as a standalone component that can be easily integrated into an existing application.

I also added a "remove" button to allow users to delete email addresses and phone numbers.

The application is deployed on Vercel, and you can try the app here:

Desktop view

An alert message pops up if a user attempts to submit a phone number without adding an email.

Screenshot 2023-11-10 at 00 34 38

Screenshot 2023-11-10 at 00 36 41

Quick Start and Commands

  1. Clone the repo:
gh repo clone /yan-fung/tech-test-expense-tracker
  1. Install the packages locally:
npm install
  1. Run the development server for the app.
npm start
  1. Test the code in tests folder.
npm test

Technology

  • React is a JavaScript library for building user interfaces, and React Testing library is a testing utility for testing React components. Combining them to create interactive and easily testable user interfaces.

Authors

๐Ÿง‘โ€๐Ÿš€ Yan Fung

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.