Nutritional Calculator Application

Version
License: MIT
Twitter: fidelissauro

Simple project do calculate healthcare metrics and nutrition suggestions

Academic References

Usage

curl --location --request POST '0.0.0.0:8080/calculator' \
--header 'Content-Type: application/json' \
--data-raw '{
   "age": 26,
   "weight": 89.0,
   "height": 1.77,
   "gender": "M"
} ' --silent | jq .

{
  "status": 200,
  "imc": {
    "result": 28.40818411056848,
    "class": "overweight"
  },
  "basal": {
    "bmr": 1712.24
  },
  "health_info": {
    "age": 26,
    "weight": 89,
    "height": 1.77,
    "gender": "F"
  },
  "recomendations": {
    "protein": {
      "value": 178,
      "unit": "g"
    },
    "water": {
      "value": 3115,
      "unit": "ml"
    }
  }
}

Swagger

Access Swagger in http://0.0.0.0/swagger/index.html

Swagger runs on production build on Dockerfile.

Author

? Matheus Fidelis

? Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

? License

Copyright © 2020 Matheus Fidelis.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

GitHub

View Github