GithubHelp home page GithubHelp logo

miguelramosfdz / sink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vilisimo/sink

0.0 0.0 1.0 775 KB

Verify that you're spending more than you can afford

License: MIT License

Java 0.20% Objective-C 0.42% Dart 97.93% Ruby 1.44%

sink's Introduction

Sink CircleCI

Sink is an app that allows you to track your income and expenses.

Current Status

  • Usable
  • Visually bearable
  • Unusable

Local App Setup

While working on and interacting with the app is relatively straightforward, setting it up requires a few minutes of effort. This is because the app uses Firebase Authentication + Database. Setup for these cannot be easily put into this repository.

Sections below outline the steps necessary to launch the app on local machine.

Setting up Firebase

Note that without setting up Firebase you might see something like this when trying to launch the app:

Launching lib/main.dart on Android SDK built for x86 in debug mode...
...
Finished with error: Gradle task assembleDebug failed with exit code 1

To fix it you will need to connect the app to Firebase. To do so, follow the steps outlined here:

Once google-services.json is downloaded and added to android/app folder, the app should start. However, this will not make the app fully functional. You will notice that you cannot get past registration screen - the app will crash. This is because the app expects email authentication to be enabled. In fact, the app expects the following to be set up:

  1. Firebase Authentication
  2. Firebase Cloud Database (Firestore)

Setting Up Authentication

  1. Navigate to: https://console.firebase.google.com/
  2. Select your project
  3. Select Authentication on the left hand side
  4. Click on Sign-in Method
  5. Select Email/Password
  6. Enable it

Now you will be able to register new users and sign in with existing email/password combinations.

Setting Up Database

  1. Navigate to: https://console.firebase.google.com/
  2. Select your project
  3. Click on Database on the left hand side
  4. Click Create Database
  5. Make sure you create Cloud Firestore. However, even if you select another type, there is an option to switch the type of a database later on. You can find it at the top of the Firebase console screen once inside the database section.

Once the steps are complete, the app will run and take care of the rest of its business itself.

Screenshots

Registration & Sign In

Sign In Registration

Entry List

Entry List

Breakdowns

Month's Breakdown Year's Breakdown

sink's People

Contributors

vilisimo avatar

Forkers

harshurp20

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.