A JavaScript macronutrient calculator for low-carb or ketogenic diets
You can find a working example of the keto calculator on the KetoDiet Blog.
You'll have to setup a simple React & Docker dev environment. Here's what you'll need to do:
- Install Docker
- Clone or Download Github repository
- Open a terminal (or command prompt) in the project directory
- 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 - Open a web browser and type the URL http://localhost:8080 to open the demo page
- We use WebStorm & Chrome for development. You can download trial version of WebStorm to try it.
- The demo page is developed using ReactJS. To find out more about ReactJS, please visit https://facebook.github.io/react/
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>