Giter Site home page Giter Site logo

klapaucius-web's People

Contributors

maurimura avatar

Stargazers

 avatar

Watchers

 avatar

klapaucius-web's Issues

Ledger and Entries

Ledgers are a list of Entries. You can't delete an Entry of a Ledger.

There are only two types of Entries: IN and OUT

Each Entry has its amount that must be the atomic form of the Ledger's currency and a short description telling about the motive.

Ledgers can get the total balance, grouping entries by type and adding their amounts. The balance never must be negative.

User creation and token generation

A simple way to create a new user from their email. OpenID Connect seems to be a good tool to use.

Possible flow:

  • User enters the app.
  • Checks for token.

If it has a valid token redirect user to home (refresh token if needed).

User has invalid token:

  • Show an input asking for an email
  • Generate a token for that email
  • Send an email with a link for login with the generated token
  • If the email didn't exist in our store, save it

Account

To use the app we had to have at least one account.

Accounts have their own currency and could have an alias that makes it easier to distinguish between them.

An account has its own Ledger. Only one Ledger is allowed by account.

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.