Coder Social home page Coder Social logo

monzo-roundup's Introduction

Continue using moneybox while also using Monzo!

Build Status

How it works

The app uses webhooks to be notified of new transactions, works out the round up value, makes a running total and puts a nice feed item in Monzo!

Once every 24 hours it will send the round ups to moneybox as one off deposits. Currently I have had to hardcode an appId for moneybox. This may be different for each user, haven't actually tested this yet.

Using the app

There is a hosted example at https://monzo-roundup.herokuapp.com that can be used. You have to auth with Monzo and also enter your moneybox login creds, these are encrypted so can't be viewed.

You can also run your own version, which requires you to set the following environment variables:

  • APPLICATION_SECRET - needed by Play! for each deployment
  • MONGODB_URI - URI for the mongo database
  • MONZO_CLIENT_ID - Monzo API client ID
  • MONZO_CLIENT_SECRET - Monzo API client secret
  • MONZO_REDIRECT_URI - the URI to redirect to after Monzo auth
  • CRYPTO_CURRENT_KEY - the key used for encrypting the account details
  • WEBHOOK_CALLBACK_URL - the URL that Monzo will call when a transaction is created

You can pass these in at the command line like:

sbt -DMONGODB_URI=this -DMONZO_CLIENT_ID=that "run 9000"

and so on.

Please give me all feedback as this is something I've quickly pulled together and currently it works foo me and it'd be great if it works for others!

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.