Skip to content

Commit

Permalink
Merge pull request #2 from 4bitWise/dev
Browse files Browse the repository at this point in the history
API Feats
  • Loading branch information
linerol authored Nov 22, 2024
2 parents 907e762 + 4de98b7 commit 4ab1db3
Show file tree
Hide file tree
Showing 25 changed files with 3,655 additions and 5 deletions.
667 changes: 667 additions & 0 deletions data/ingredients.json

Large diffs are not rendered by default.

122 changes: 122 additions & 0 deletions data/measure-units.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
[
{
"id": "weight_g",
"unit_name": "Gram",
"unit_symbol": "g",
"measurement_type": "weight",
"conversion_factor": 1,
"base_unit_id": null
},
{
"id": "weight_kg",
"unit_name": "Kilogram",
"unit_symbol": "kg",
"measurement_type": "weight",
"conversion_factor": 1000,
"base_unit_id": "weight_g"
},
{
"id": "weight_mg",
"unit_name": "Milligram",
"unit_symbol": "mg",
"measurement_type": "weight",
"conversion_factor": 0.001,
"base_unit_id": "weight_g"
},
{
"id": "volume_ml",
"unit_name": "Milliliter",
"unit_symbol": "ml",
"measurement_type": "volume",
"conversion_factor": 1,
"base_unit_id": null
},
{
"id": "volume_cl",
"unit_name": "Centiliter",
"unit_symbol": "cl",
"measurement_type": "volume",
"conversion_factor": 10,
"base_unit_id": "volume_ml"
},
{
"id": "volume_L",
"unit_name": "Liter",
"unit_symbol": "L",
"measurement_type": "volume",
"conversion_factor": 1000,
"base_unit_id": "volume_ml"
},
{
"id": "volume_cup",
"unit_name": "Cup",
"unit_symbol": "cup",
"measurement_type": "volume",
"conversion_factor": 240,
"base_unit_id": "volume_ml"
},
{
"id": "weight_tsp",
"unit_name": "Teaspoon",
"unit_symbol": "tsp",
"measurement_type": "weight",
"conversion_factor": 4.9,
"base_unit_id": "weight_g"
},
{
"id": "volume_tsp",
"unit_name": "Teaspoon",
"unit_symbol": "tsp",
"measurement_type": "volume",
"conversion_factor": 5,
"base_unit_id": "volume_ml"
},
{
"id": "weight_tbsp",
"unit_name": "Tablespoon",
"unit_symbol": "tbsp",
"measurement_type": "weight",
"conversion_factor": 14.8,
"base_unit_id": "weight_g"
},
{
"id": "volume_tbsp",
"unit_name": "Tablespoon",
"unit_symbol": "tbsp",
"measurement_type": "volume",
"conversion_factor": 15,
"base_unit_id": "volume_ml"
},
{
"id": "length_cm",
"unit_name": "Centimeter",
"unit_symbol": "cm",
"measurement_type": "length",
"conversion_factor": 1,
"base_unit_id": null
},
{
"id": "length_mm",
"unit_name": "Millimeter",
"unit_symbol": "mm",
"measurement_type": "length",
"conversion_factor": 0.1,
"base_unit_id": "length_cm"
},
{
"id": "length_m",
"unit_name": "Meter",
"unit_symbol": "m",
"measurement_type": "length",
"conversion_factor": 100,
"base_unit_id": "length_cm"
},
{
"id": "count_pc",
"unit_name": "Piece",
"unit_symbol": "pc",
"measurement_type": "count",
"conversion_factor": 1,
"base_unit_id": null
}
]
Loading

0 comments on commit 4ab1db3

Please sign in to comment.