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
- Create
local.env.js
file in server/config folder, specifying Nutritionix app credentials - Ensure Docker is installed and run:
docker-compose up
Navigate to localhost:9000
- Create
local.env.js
file in server/config folder, with Nutritionix app credentials - 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
)
- Run
npm install
to install server dependencies. - Run
gulp serve
to start the development server. It should automatically open the client in your browser when ready.
Run gulp build
for building and gulp serve:dist
for preview.
Running npm test
will run the unit tests with karma.