https://github.com/andre-araujo/fitness-app
Node-react-redux workflow
https://github.com/andre-araujo/fitness-app
Last synced: 3 months ago
JSON representation
Node-react-redux workflow
- Host: GitHub
- URL: https://github.com/andre-araujo/fitness-app
- Owner: andre-araujo
- Created: 2017-07-04T15:24:23.000Z (almost 8 years ago)
- Default Branch: dev
- Last Pushed: 2017-07-10T05:47:20.000Z (almost 8 years ago)
- Last Synced: 2025-01-31T13:43:48.476Z (5 months ago)
- Language: JavaScript
- Homepage: https://fitness-menu.herokuapp.com/
- Size: 262 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fitness app
A little app to manage a food menu using the [Nutritionix API](https://developer.nutritionix.com/docs/v1_1)# 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](https://console.cloud.google.com/apis/credentials) - make a app credential that accepts http requests.[GOOGLE_SEARCH_CSE](https://cse.google.com/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](https://developer.nutritionix.com/docs/v1_1) - just create an account and get API key.
# Project Stack
- [Express](http://expressjs.com)
- [React](https://facebook.github.io/react/)
- [Redux](http://redux.js.org/)
- [LowDB](https://github.com/typicode/lowdb)