keanacobarde / on-paper

Spend your money OnPaper first!
0 stars 0 forks source link

OnPaper Netlify Status

Do want to save money? Do you want to gain more awareness of where you're spending your money and how? More than anything, do you want it to be at your fingertips?

Look no further, OnPaper has you covered.

View App

Get Started

Dependencies:

Clone this repo and submit the following command:

npm install 

This installs all the packages associated with the template: Next JS and others.

Material UI:

npm install @mui/material @emotion/react @emotion/styled
npm install @mui/icons-material

Chart JS:

npm install chart.js react-chartjs-2

About the User

You're a busy person. You have deadlines to meet and trains to catch. You're a student. You're a teacher. You're a doctor. You're a librarian. You're a parent. Maybe you have no idea where your money goes. Maybe you already have a good idea what your budge looks like. No matter what you are, you're looking to get a better handle on your money.

Features

OnPaper has three central components:

Also includes:

CRUD: Create, Read, and Update

Relevant Links

Code Snippet

Graph JS - Displaying Expenses

// Data for Expenses
  const categoryExpenseArray = categories.map((category) => allExpenses.reduce(((acc, curr) => (category.name === curr.category ? acc + curr.amount : acc + 0)), 0));

  const categoryExpenseData = {
    labels: categories.map((category) => category.name),
    datasets: [
      {
        label: 'Amount Spent',
        data: categoryExpenseArray,
      },
    ],
  };

Project Screenshots

Your Alt Your Alt Your Alt

Powered By:

Contributors