Food and Users DB data

mail@pastecode.io avatar
unknown
json
2 years ago
3.2 kB
2
Indexable
Never
{
    "food": [
        {
            "id": 1,
            "name": "apple",
            "calories": 88,
            "dietary_preferences": [
                "vegan"
            ],
            "serving_size": 6,
            "serving_size_units": "oz"
        },
        {
            "id": 2,
            "name": "chicken breast",
            "calories": 125,
            "dietary_preferences": [
                "keto"
            ],
            "serving_size": 3,
            "serving_size_units": "oz"
        },
        {
            "id": 3,
            "name": "whole milk",
            "calories": 240,
            "dietary_preferences": [
                "keto"
            ],
            "serving_size": 8,
            "serving_size_units": "oz"
        },
        {
            "id": 4,
            "name": "broccoli",
            "calories": 30,
            "dietary_preferences": [
                "vegan",
                "vegetarian",
                "keto"
            ],
            "serving_size": 3,
            "serving_size_units": "oz"
        },
        {
            "id": 5,
            "name": "almonds",
            "calories": 164,
            "dietary_preferences": [
                "vegan",
                "keto",
                "vegetarian"
            ],
            "serving_size": 1,
            "serving_size_units": "oz"
        },
        {
            "id": 6,
            "name": "lentils",
            "calories": 230,
            "dietary_preferences": [
                "vegan",
                "vegetarian",
                "keto"
            ],
            "serving_size": 1,
            "serving_size_units": "cup"
        },
        {
            "id": 7,
            "name": "oreos",
            "calories": 230,
            "dietary_preferences": [
                "vegan",
                "vegetarian"
            ],
            "serving_size": 1,
            "serving_size_units": "cup"
        },
        {
            "id": 8,
            "name": "ribeye steak",
            "calories": 500,
            "dietary_preferences": [
                "keto"
            ],
            "serving_size": 4,
            "serving_size_units": "oz"
        },
        {
            "id": 9,
            "name": "salt and vinegar chips",
            "calories": 90,
            "dietary_preferences": [
                "vegan",
                "vegetarian"
            ],
            "serving_size": 4,
            "serving_size_units": "oz"
        },
        {
            "id": 10,
            "name": "cheddar cheese",
            "calories": 120,
            "dietary_preferences": [
                "keto"
            ],
            "serving_size": 4,
            "serving_size_units": "oz"
        }
    ],
    "users": [
        {
            "id": 1,
            "firstname": "Sam",
            "lastname": "Davies",
            "email": "sam@acme.com",
            "log": [
                {
                    "1572791640182": {
                        "food": "apple",
                        "servingSize": "2",
                        "calories": 176
                    }
                }
            ]
        }
    ]
}