Giter VIP home page Giter VIP logo

m2-tech-example's Introduction

Moneyhub Tech Test - Property Details

This is a prototype of a new feature in Moneyhub. Customers will now be able to receive automatic value updates on their properties and we would like to enhance the experience by summarizing their changes

This prototype is built using NextJS.

UX/UI Design

Figma file for UX/UI Improvements

Requirements

We would like you to:

  • Add a "Valuation changes" section to the page, using mock.png as a rough guide
    • sincePurchase is calculated by recentValuation - originalPurchasePrice
    • sincePurchasePercentage is calculated by sincePurchase / originalPurchasePrice * 100
    • annualAppreciation is calulcated by sincePurchasePercentage / number of years since purchase
  • Ensure markup is semantic and accessible
  • Consider opportunities to reduce repetition in the code and increase legibility
  • Make effective use of Git

We prefer:

  • Functional React components
  • styled-components for styling
  • prop-types for typechecking

API

Details of a property are located in the API at /api/account, use this endpoint to populate the app with data. Someone started implementing this feature with a useEffect hook, but you should use whichever method you're most comfortable with.

Notes

Most of your work should take place inside the components/ directory.

We're more interested in seeing how you approach the problem than seeing a perfect example, try to spend around one hour working on it.

Some questions we'd like you to consider around this task.

  1. Given more time, were there other changes you would have liked to make?
  2. What UX or design improvements or alterations might you suggest? These can be to existing components or completely new ideas.

On completion, email a link to your repository to your contact at Moneyhub, and ensure it is publicly accessible.

Getting Started

Run the development server:

npm run dev

If you get Error: Cannot find module 'babel-plugin-styled-components' carry out: npm install --save-dev babel-plugin-styled-components

Open http://localhost:3333 with your browser to see the result.

You can start by looking at components/detail. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources:

m2-tech-example's People

Contributors

vivienneobrien avatar nickfoden avatar

Watchers

James Cloos 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.