klapaucius-web's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.