A sample Angular 2 app to explore:
- @ngrx/store and @ngrx/effects
- webpack 2
- AOT
- lazy loaded modules
Install these globals with npm install --global
:
webpack
(npm install --global webpack
)webpack-dev-server
(npm install --global webpack-dev-server
)yarn
(npm install --global yarn
)
Once you have installed all prerequisites,
fork
this repoclone
your forkyarn
ornpm install
to install all dependencies
This project uses two APIs from Edamam and USDA. The project will work even without modifying the current API configuration, for extensive usage you should register for a free dedicated API key:
- USDA API registration
- Edamam API registration
Once registerd you can insert your keys on
/src/app/config.ts
or create a.env
file like the following
# EDAMAM API
EDAMAM_APP_ID=your_api_key
EDAMAM_KEY=your_app_key
# USDA API
USDA_API=your_api_key
That will be loaded on app startup.
MIT © damnko