Skip to content

Commit

Permalink
1.0.13 android build bump and readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljonescodes committed Feb 29, 2024
1 parent 5e49d22 commit f87402b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 15 deletions.
51 changes: 38 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,44 @@
# Nutrition Planner

At its core, Nutrition Planner is a calculator. The app is built around just two
primary data structures: an **item** and a **subitem**. An item is characterized
by 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 its associated item. With just 2 data
structures, I'm trying to develop an application that encompasses a log, an item
library, a recipe creator, and a planner for iOS, Android, Windows, macOS, Linux,
Web, ...
Nutrition Planner is a calculator for nutrition information and cost.

https://pauljones.codes/2024/02/16/experimental-frontend-application-development/
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+](https://apps.apple.com/us/app/nutrition-planner/id6478449486),
[Android](https://play.google.com/store/apps/details?id=com.adeptry.nutritionplanner),
Windows, Linux, and [Web](https://nutritionplanner.app) using
[React](https://react.dev/), [Electron](https://www.electronjs.org/),
[Capacitor](https://capacitorjs.com/), [Chakra](https://chakra-ui.com/),
[RxDB](https://rxdb.info/), and [CouchDB](https://couchdb.apache.org/). It's
translated 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](https://pauljones.codes/2024/02/16/experimental-frontend-application-development/).

## Run it
## Quick start

```bash
npm install
npm start
```
npm install
npm start # run it
npm package # ship it
```

Only "unauthenticated" CouchDB URLs work for live syncing, ex:

```bash
https://yourcouchdpurl.com:6984/sample/
```

You must include the trailing slash and you may not have user/pass
`http://username:password@...`.

## Other

MIT licensed so do you want with the code.

Contributions welcome.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.adeptry.nutritionplanner"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 6
versionName "1.0.12"
versionCode 8
versionName "1.0.13"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down

0 comments on commit f87402b

Please sign in to comment.