Git Product home page Git Product logo

express-oauth2-skeleton's People

Contributors

andrelandgraf avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

express-oauth2-skeleton's Issues

Open TODOs for OAuth

  • check if supported grant_types are sufficient for alexa
  • implementation of getClient in model
  • recap of getRefreshToken in model
  • implement all revokeToken in model
  • Generate random string as code on register
  • return code to frontend iff client === alexa
  • remove password on all token replies
  • sync mongoose methods & remove config.js

Database model design

Information relevant for food attributes (nutrition values of single food items & recipes) based on data from advisors:

  • Cholesterol
  • Phosphorous
  • VitaminABetaCarotin
  • Carbohydrate
  • KCal
  • Copper
  • DietaryFiber
  • TotalFat
  • VitaminB12
  • Wasser
  • Iron
  • VitaminE
  • AddedSugars
  • Calcium
  • Zinc
  • Magnesium
  • Manganese
  • VitaminARetinol
  • PUFA
  • Folate
  • Riboflavin
  • Thiamine
  • Protein
  • Salt
  • Fluoride
  • Omega3
  • VitaminB6
  • MUFA
  • AlcoholConcentrate
  • VitaminC
  • Iodine
  • SFA
  • VitaminD
  • Cholesterol
  • Phosphorous
  • VitaminABetaCarotin
  • Carbohydrate
  • KCal
  • Copper
  • DietaryFiber
  • TotalFat
  • VitaminB12
  • Wasser
  • Iron
  • VitaminE
  • AddedSugars
  • Calcium
  • Zinc
  • Magnesium
  • Manganese
  • VitaminARetinol
  • PUFA
  • Folate
  • Riboflavin
  • Thiamine
  • Protein
  • Salt
  • Fluoride
  • Omega3
  • VitaminB6
  • MUFA
  • AlcoholConcentrate
  • VitaminC
  • Iodine
  • SFA
  • VitaminD

Properties of example recipes (2,100 examples):

{
    "name": String,
    "preparationTime": Time as Int32,
    "meal": Type as String (e.g. lunch),
    "ingredients":[ Array of ingredients with their food attributes ],
    "directions": [ Strings of instruction steps ],
    "foodProperties": { same as in ingredients }
    "servings": [
        // Examples:
        {
            "name": "1/2 Rezeptmenge",
            "weight": 615
        },
        {
            "name": "1 Rezeptmenge",
            "weight": 1230
        }
    ],
    "noGoNutrition": [ Strings of probably IDs (?) maybe used for allergies],
    "imgUrl": String,
    "kcal": Int32,
    "people": "ca. 1 Liter" // unclear,
    "factor": 1 // unclear
} 

Properties of example ingredient:

{
      "dataSource": "BLS", // unclear, maybe irrelevant
      "name": String,
      "foodGroup": "Other", // ?
      "foodAttributes": { nutrition values as above }
      "servings": [ as above]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.