Nutrition Planner is a calculator for nutrition information and cost.
The app is built around just two primary data structures: an item and a subitem. An item has an ID, date, nutritional information (such as calories, serving size, and macronutrients), and its cost in cents. A subitem, on the other hand, consists of an ID, a quantity, and the ID of an item. With just these 2 data structures, this app implements a log, a library, a recipe creator, and a planner which syncs live with your other devices for iOS+, Android, Windows, Linux, and Web using React, Electron, Capacitor, Chakra, RxDB, and CouchDB. It's translated into Arabic, Chinese, English, Spenish, French, and Hindi, and can display money formatted in USD, CAD, AUD, GBP, CHF, CNY, JPY, and EUR. You can find more information about the development process here.
npm install
npm start # run it
npm package # ship it
Only "unauthenticated" CouchDB URLs work for live syncing, ex:
https://yourcouchdpurl.com:6984/sample/
You must include the trailing slash and you may not have user/pass
http://username:password@...
.
MIT licensed so do you want with the code.
Contributions welcome.