Code Monkey home page Code Monkey logo

tommaso_pfm's Introduction

Programming Mentoring challenge

Description

Banca Tommaso launched the Personal Finance Management (PFM) web-app you built, and it already gained 120k users, but unfortunately, only 15% of those are paying for it. On average, every user spends €12.45 per month, which means the whole platform is generating a Monthly Recurring Revenue (MRR) of ~€225k (120000 * 12.45 * 0.15). The bank had a target MRR of €1 million, so now they need to find a way to make the platform revenue go 4x.

After evaluating different proposals, your manager decided to proceed with your solution (little does she know it was actually ChatGPT that came up with it). The idea is to sell the banking services that run in the backend of the platform to other banks. For this reason, you are working on the library that the other banks will use to interact with those services.

Tasks

  • Implement a function that, given the location of a file containing a list of transactions, returns a list of objects with the following type:

    {
        description: String,
        amount: Number,
        date: Date,
        category: String,
    }
    

    Here is an example file of transactions.

    For now, we will call this structure a Transaction.

  • Implement a function that, given a list of transactions, returns the information of how much was spent on each category found in the transaction list.

  • Implement a function that, given a list of transactions, returns the information of how much was spent in each single month.

  • Implement a function that, given a list of transactions, returns the information of how much was spent per month on average.

  • BONUS: Implement a function that, given a list of transactions, returns how much was spent each month per each category.

tommaso_pfm's People

Contributors

maatteogekko avatar

Stargazers

 avatar

Watchers

 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.