Giter Site home page Giter Site logo

react-expense-tracker's Introduction

React Project - Expense Tracker

About this Project

This project was built using React. It displays and summarizes personal expenses. The data is fetched from an db.json server. You are able to see the expenses for a particular month in more details. There is also a feature where you are able to toggle between deciding whether this expense is considered to be necessary or not. There is also a form component, where you can add a new expense.

Demo

Demo

Getting Started

The backend of this project is a db.json file. So you will need two terminals, one to watch the server and the other to run the application.

First the json-server need to be run:

json-server --watch db.json

Using another terminal, all the dependencies need to be installed:

npm install

Once that is done, we are ready to start:

npm start

Components Hierachy

App
|-- NavBar
|-- Home
|   |__ Summary
|-- ExpenseForm
|__ MonthsList 
    |__ Month
        |__ Expense

Future Plans

I have ideas on how to expand this project, which I would like to come back and work on.

Currently months are being derived from the expenses data, but I would like to figure out a way where months can be derived based on the current time. That is, if the current month is September 2023 - the addExpense form should have the option for September 2023 even when there is no expense for that month in the database.

Eventually, I would like to add user profiles functionality for the app, that is including a log in/log out ability to keep track of a user's expenses.

react-expense-tracker's People

Contributors

jucheng925 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.