Coder Social home page Coder Social logo

budgetizer's Introduction

Budgetizer CircleCI

Requirements

  • Ruby v3.2.2
  • Ruby on Rails v7.0.6
  • PostgreSQL v16
  • Go v1.21.3

Getting Started

To get a copy of the project up and running on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/RedSkiesReaperr/Budgetizer.git
  2. Run setup app:

    make install
  3. Setup API:

    cd api/
    bundle install
    rails db:setup
    rails s
  4. Setup front end:

    cd web/
    yarn install
    yarn dev

API should now be accessible locally at this adress.

Frontend should be accessible locally at this address.

budgetizer's People

Contributors

redskiesreaperr avatar

Watchers

 avatar

budgetizer's Issues

Error message still open

When you edit an operation and it gives an error. When you dont manally close the message and closes edition modal. If you re-open another edition modal, the error will still shows up.

Maybe use general app alert ?

Add categories deletion

Add the delete action for each categories table row. Add a confirmation modal to ensure there is no miss-deletion.

Invalid amounts in chart by categories

Sometimes amount are converted to spent.

Example:
If i spent 200€ in shopping category and i sell my car for 10k€. The chart "by categories" will show the category "shopping" with value 9800€ as spent.

Import operations button

Create an import operations button on the budget overview page. This should look for a local csv file and send infos to API endpoint responsible of import.

Create categories management page

Create a new page (accessible from left menu). This page will handle all stuff about categories (CRUD).
At this point, the page should only contain a categories listing table.

Forecast line amount format

The forecast line amount is not well formed when:

  • Editing a forecast line (in edit input)
  • Deleting a forecast line (in line info resume)

Manage errors via error codes

  • Change API to send error codes instead of translated messages
  • Update frontend to handle API error codes & translated them

Fix 500 when new user

When a freshly user created retreive budgets leads to a 500 from API. Because there is no budget & lines available

Add categories creation endpoint

Be able to create categories from frontend app with params:

  • name
  • amount
  • color
  • icon

Each category should have an unique identifier (id ? uuid ?)

Remove budget

Remove all things about budget (selector page, model, routes, etc...) and link all resources to user

Fix apexcharts bug

Sometimes at refresh ? App get back to budget selector because of apexcharts errors:
Capture d’écran 2023-12-19 à 12 05 29

Add types to categories

A category should be categorized as income/expense category.

  • API: Create DB fields, expose in categories endpoints (creatable & updatable field).
  • Web: Display in categories page. Update CategoriesPieChart

Link resources to user

  • All resources should be user scoped (operations,lines,forecast,objective,etc...)
  • Should not be able to get infos another user resources

Add operations selector

Add ability to select multiple operation in tables. To goal is to select operations and get a sum of them showing somewhere.

Deployement automation

Configure CircleCI & GCP to automaticaly launch a deployement when: The CI is green and a tag following the 'vX.X.X' pattern is pushed ONLY ON MAIN BRANCH. CircleCI should call the two Cloud Build triggers to build & deploy.

Clear stores at logout

When a user disconnects, all stores should be cleared to avoid cached data from last user to be displayed.

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.