-
VERY early development
-
Not much is implemented and whatever is implemented, probably doesn't work very well.
-
As this is a a toy project in early development with requirements largely undefined and no roadmap to speak of, external contributions are likely to be rejected.
-
The app will eventually incorporate an Express server and web interface, but it's intended to run on a local network. I'd strongly caution against giving this a live IP address ever.
- Mongoose against a remote DB. I am using the free teir of Atlas during developement and the mongoose connection reads in connection info from
/db-connect/connect.json
. There is an example of the format in/db-connect/connect.example.json
You add data directly into the DB using the atlas interface or (in progress) I am adding CLI handlers as npm scripts to make that a little easier before getting Express and form handling implemented.
npm run setup:measurements --mode=common
- adds
grams
,kilograms
,millilitres
,litres
,teaspoons
,tablespoons
andeach
as measurements.
- adds
npm run setup:measurements
with the following arguments to add a custom measurementunitName
(required) - is used to look up related units so should be uniquenotationSingular
(required) - e.g. "tsp"notationPlural
(required) - e.g. "tsps"parentMeasure
(optional) - Will be used to convert smaller units to larger ones. provide theunitName
of the measurement that this will change to once a threshold amount is reachedparentThreshold
(optional) - Will be used to convert smaller units to larger ones. e.g.grams
has aparentThreshold
of 1000, any amount over 1000 will be converted to kilograms in app views.