https://github.com/sorjef/nutritionix-angular-examples
Nutritionix API integration project with examples, which can be used as a boilerplate
https://github.com/sorjef/nutritionix-angular-examples
angular1 boilerplate examples nutritionix
Last synced: about 2 months ago
JSON representation
Nutritionix API integration project with examples, which can be used as a boilerplate
- Host: GitHub
- URL: https://github.com/sorjef/nutritionix-angular-examples
- Owner: sorjef
- Created: 2017-05-04T12:45:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T18:56:13.000Z (about 8 years ago)
- Last Synced: 2025-01-25T06:41:22.436Z (4 months ago)
- Topics: angular1, boilerplate, examples, nutritionix
- Language: JavaScript
- Homepage:
- Size: 765 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nutritionix API examples
A project with Nutritionix API examples which could be used as a boilerplate for your Angular 1.x web app integrated with Nutritionix API. It is based on [angular-fullstack](https://github.com/angular-fullstack/generator-angular-fullstack), so to get a better understanding of the tools and workflow used, check [its documentation](https://angular-fullstack.github.io/)
## Getting Started
### Quick Start
1. Create `local.env.js` file in [server/config](server/config) folder, specifying Nutritionix app credentials
2. Ensure [Docker](http://docker.com/) is installed and run:```sh
docker-compose up
```Navigate to [localhost:9000](http://localhost:9000/)
### Developing
1. Create `local.env.js` file in [server/config](server/config) folder, with Nutritionix app credentials
2. Ensure the following tools installed:
- [Git](https://git-scm.com/)
- [Node.js and npm](nodejs.org) (Tested on node 7.9.0, but may also work on previous versions >4.x.x)
- [Gulp](http://gulpjs.com/) (`npm install --global gulp`)
3. Run `npm install` to install server dependencies.
4. Run `gulp serve` to start the development server. It should automatically open the client in your browser when ready.## Build & development
Run `gulp build` for building and `gulp serve:dist` for preview.
## Testing
Running `npm test` will run the unit tests with karma.