Coder Social home page Coder Social logo

mohnish / money Goto Github PK

View Code? Open in Web Editor NEW
47.0 6.0 6.0 22.36 MB

Money - let's you manage your money and visualize where your money goes. Built using Ruby 2.3.0, Rails 4.2.5, Backbone and Bootstrap

Home Page: https://limitless-brushlands-3869.herokuapp.com/signup

License: MIT License

Ruby 58.55% JavaScript 23.67% CSS 0.34% HTML 17.44%
money ruby backbone bootstrap rubyonrails side-project

money's Introduction

Money

Build Status Code Climate

Money (beta) is an app to manage your bills and payments. It helps you reach your financial goals by showing you where you have been spending the most and where you can save.

Introduction blog post https://mt.cx/money

Features

  • Add bills (recurring ones and one time)
  • Reports. Neat graphs showing where your money went
  • Get reminders about bills [WIP]

Development

Before you continue, make sure you have the correct version of Ruby installed on your machine. For Ruby installation information, please refer to the docs/installing_ruby.md file.

from the application root, run the following commands

  • bin/setup - sets up the app
  • bin/rspec - run tests
  • bin/rake jasmine:ci - runs js tests

Running the app

from the application root, run

  • bin/rails s

This will start the server @ http://localhost:3000/

If you had run the bin/setup earlier, you'll have access to seed data and you can use username: bond and password: test1234 to login to the app.

Deploying

Deploy

API

API docs [TODO]

Technologies Used

  • Rails 4.2.5
  • Ruby 2.3.0
  • Backbone 1.2.3
  • Bootstrap 3.3.6

</> with <3

License

(The MIT License)

Copyright (c) 2016 Mohnish Thallavajhula <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

money's People

Contributors

appikonda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

money's Issues

tags

  • create tags
  • delete tags

routes

  • GET /api/categories
  • POST /api/users/:user_id/bills/:bill_id/tags
  • DELETE /api/users/:user_id/bills/:bill_id/tags/:id
  • GET /api/users/:user_id/bills/:bill_id/payment_sources
  • POST /api/users/:user_id/bills/:bill_id/payment_sources
  • PATCH /api/users/:user_id/bills/:bill_id/payment_sources/:id
  • PUT /api/users/:user_id/bills/:bill_id/payment_sources/:id
  • DELETE /api/users/:user_id/bills/:bill_id/payment_sources/:id
  • POST /api/users/:user_id/bills/:bill_id/payments
  • DELETE /api/users/:user_id/bills/:bill_id/payments/:id
  • GET /api/users/:user_id/bills
  • POST /api/users/:user_id/bills
  • GET /api/users/:user_id/bills/:id
  • PATCH /api/users/:user_id/bills/:id
  • PUT /api/users/:user_id/bills/:id
  • DELETE /api/users/:user_id/bills/:id
  • POST /api/users
  • GET /api/users/:id
  • PATCH /api/users/:id
  • PUT /api/users/:id
  • DELETE /api/users/:id

UI improvements

  • reduce the content of each bill on the bills page. this data is already available in the show bill page, so it should be fine. keep only the pieces of info that's absolutely necessary. #38
  • update the position of the condensed bills to make 'em look as if they're aligned with the form #49
  • selecting never on bills form should display select card on the form #32
  • collapse the bills form by default #41
  • collapse the payments form by default #42
  • update the next_due_date on creation of payment (based on the repetition interval) #43
  • turn off autocomplete for some of the fields (needs review) #44
  • auto lowercase the username field (autocapitalize="off" on the text field) #45
  • the date should always default to todays date #46

update bills template

reduce the content of each bill on the bills page. this data is already available in the show bill page, so it should be fine. keep only the pieces of info that's absolutely necessary.

graphs/reports

  • based on the category of purchase
  • based on the payment source
  • based on the month

frontend model structure seems to be different from the backend models

this is causing a few issues:

  • for nested models, the validations fail due to the fact that the id attributes for the corresponding belongs_to relation are not populated in the responses.

for ex:

on the frontend, the payment looks something like this:

{
  bill_id: 1,
  bill: { id: 1, name: 'foo' }
}

this passes frontend validation since the bill_id is populated. but the problem arises when we get a collection back from the server and the individual models look something like this:

{
  bill: { id: 1, name: 'bar' }
}

this is an invalid model from the frontend's perspective since the bill_id attr is missing.

  • due to this, after creating a payment, it gets inserted into the db but on the frontend, the collection fails to update. this is because the collection already has models that fail frontend validations.

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.