mongoose-multi schema files for rapidfacture software
- orders: belong to an account; customer orders;
- positions: belong to an order; each order holds positions with article text etc. and reference articles
- scalePrice: belong to an article; the result of a calculation or a manual added price
- articles: belong to an account, usual articles like in a shop; currently called "drawings", but will be renamed;
- taskLists: belong to an article; detailed price calculation with tasks
- accounts: bundles multiple users; usually for one customer, for the own company or for one vendor
- addresses: belong to an account
- users: belong to an account
- credentials: belong to an user
- settings: all settings: global, for apps, for special purpose
- sessionSecret: stores only one value
- cronjobs
- logs
- tags: belongs an any item
- groups
- accounts: bundles multiple users; usually for one customer, for the own company or for one vendor
- addresses: belong to an account
- accountInfos: belong to an account
- users: belong to an account
- credentials: belong to an user
- sessions: belong to an user
- settings: belong to an user
- userInfos: belong to an user
- orders: belong to an account; customer orders;
- positions: belong to an order; each order holds positions with article text etc. and reference articles
- shipments
- discount
- messages
- tasks
- demands
- articles: belong to an account, usual articles like in a shop
- taskLists: belong to an article; detailed price calculation with tasks (was: costcentres)
- scalePrice: belong to an article; the result of a calculation or a manual added price
- tasks
npm test