Skip to content

Nutritionix API integration project with examples, which can be used as a boilerplate

Notifications You must be signed in to change notification settings

sorjef/nutritionix-angular-examples

Repository files navigation

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, so to get a better understanding of the tools and workflow used, check its documentation

Getting Started

Quick Start

  1. Create local.env.js file in server/config folder, specifying Nutritionix app credentials
  2. Ensure Docker is installed and run:
docker-compose up

Navigate to localhost:9000

Developing

  1. Create local.env.js file in server/config folder, with Nutritionix app credentials
  2. Ensure the following tools installed:
    • Git
    • Node.js and npm (Tested on node 7.9.0, but may also work on previous versions >4.x.x)
    • Gulp (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.

About

Nutritionix API integration project with examples, which can be used as a boilerplate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published