ivancea / autostocklist Goto Github PK
View Code? Open in Web Editor NEWAutomated stock/shopping list manager
License: MIT License
Automated stock/shopping list manager
License: MIT License
Reorganize directories:
Easier deployment and testing.
Compile and copy files in dockerfile. Use Actix to serve the statics.
Instead of calculating the stock from the loss/resupply tables:
Options:
Oauth with Google for MVP?
Data per day: Consumed stock, current stock
Controller methods must be moved to other modules and reorganized.
Use configure
and scope
todelegate configuration todifferent modules and add custom paths (https://actix.rs/docs/application/).
web::Scope
avoided because of it swallowing requests its services can't process. See: actix/actix-web#2392
User -> Stock list -> Item -> Stock movement
User {
/* Auth, basic information */
}
Stock list {
name.
default?
/* Future: buying and analytics configurations */
}
Item {
name,
minStock,
maxStock,
actualStock
/* Future: buying and analytics configurations, price (for spending analysis) */
}
Stock loss{
date,
quantity (representing a stock reduction)
}
Stock resupply{
date,
quantity (representing a stock increase)
}
Stock total (VIEW) {
itemId,
stock
}
For a PK of (user, item, date), it'll generate around 365 light entries per user/item, in the worse case of all items consumed every day.
For an average of 50 items per user (big shopping list), it'll go around 15.000 entries per year per user.
15.000 entries per user, knowing that a RDBMS is required for the users, items and configurations management, using ScyllaDB may be an overkill, and a development obstacle as it has a slower startup and worse tools to interact with.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.