Code Monkey home page Code Monkey logo

dev.finance's Introduction

Printscreen of the project

dev.finance

This app was developed in a programming course of the Rocketseat online school, called "discover" for programing beginers.

This app, basicaly, store a financial history to a little context, like a family, showing the balance of incomes, expences and total.

Originaly made to store the data in localStorage of the web browser, so, I decided to add more features to it.

Now, it do login with google, store the data in a relactional data bank of firebase (if the user is logged), the real time database, and shows a graphic of the history inserted for the user with a implementation of the ChartJs.

Some things that I learned with this app:

If you want to work with login with google, all the app that change with the auth state, need to pass inside the auth check like in next:

firebase.auth().onAuthStateChanged(user => {
  if(user){
    // user is loged
  } else {
    // user not loged
  }
})

If you need to sort the data that come of the realtime database of firebase, you can use the code next:

DB.ref(`users/${user.uid}/items`).orderByChild("date").on('value', item => {
  // your actions here
})

Technology

Here are the technologies used in this project.

Services Used

  • Github
  • Firebase from Google

Getting started

You can see and use the app here

But, if you want to run this app by yourself, simply create a firebase app here

In next, you need to write the app credentials in the scripts.js:


const firebaseConfig = {
  // Your web app's Firebase configuration
}

In next, you need to run "yarn start" to run the local test server and to test the app locally.

How to use

You can register your financial balance adding your transactions, the app will calculate all the balance for you, the data is stored in the local storage for default, but if you want to keep the data stored in the server, you need to login with google, it is simple, fast, and free for all.

Features

  • With this app, you can create a place that you can control your financial balance history and plan your expenses.

Links

Versioning

1.0.0.0

Authors

Learn More

You can learn more in the [Rocketseat programming school site].

I hope it help you like it helped me too! Thanks for see it and give a repo star if you like it!

dev.finance

dev.finance's People

Contributors

teilorbarcelos avatar

Stargazers

Pedro Santos avatar  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.