/fitness-app

Node-react-redux workflow

Primary LanguageJavaScript

Fitness app

A little app to manage a food menu using the Nutritionix API

Running the project

Install

npm install

Start

npm start

Config .env

This app's main purpose is to show react-redux workflow, but, if you want to run this app properly, you need the KEYS for google and nutritionix APIs.

First step, create an .env file at the application root directory with the following content:

    GOOGLE_SEARCH_API_KEY=xxxxxx
    GOOGLE_SEARCH_CSE=xxxxxx
    NUTRITIONIX_API_KEY=xxxxxx

Then replace xxxxxx with the API KEYS

Where to found the KEYS

GOOGLE_SEARCH_API_KEY - make a app credential that accepts http requests.

GOOGLE_SEARCH_CSE - make an custom field that search the desired app repository to get food images. Just create a CSE in blank, then activate images to search the entire web.

NUTRITIONIX_API_KEY - just create an account and get API key.

Project Stack