/keto-calculator

A JavaScript macronutrient calculator for low-carb or ketogenic diets

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

keto-calculator

A JavaScript macronutrient calculator for low-carb or ketogenic diets

You can find a working example of the keto calculator on the KetoDiet Blog.

Getting Started

You'll have to setup a simple React & Docker dev environment. Here's what you'll need to do:

  1. Install Docker
  2. Clone or Download Github repository
  3. Open a terminal (or command prompt) in the project directory
  4. Execute docker-compose up. This will launch the docker container and fetch all the dependencies. It may take some a few minutes to execute the first time you run it
  5. Open a web browser and type the URL http://localhost:8080 to open the demo page

Develop & Debug

  1. We use WebStorm & Chrome for development. You can download trial version of WebStorm to try it.
  2. The demo page is developed using ReactJS. To find out more about ReactJS, please visit https://facebook.github.io/react/

Using the code

If you use portions of this code on your website or any application please acknowledge the original source by linking to our Github project as shown below:

<span>Based on <a href="https://github.com/ketodiet/keto-calculator">KetoDiet calculator</a></span>