Yeoman generated angular fullstack variation with mocha, chai sinon and coverage. As an example of an angular course.
install git https://git-scm.com/downloads
Install nvm (Node Version Manager) https://github.com/creationix/nvm
nvm install 6
then before running the app:
nvm use 6
You can use: https://github.com/hakobera/nvmw and then
nvm install 6
the before runn ing the app:
nvm use 6
I haven't tested with newer versions but it should work anyway.
npm install grunt-cli bower -g
git clone https://github.com/aotaduy/angular-example.git
cd angular-example
npm install
bower install
npm run update-webdriver
The movie db example application uses the REST API at https://www.themoviedb.org/, to use this api you need an API Key from the site. You should create an account and ask for the key. They will send you it to you by email.
Before running grunt serve
you should set the environment variable (this is a fake key you shuld add your own):
In Windows
set MOVIEDB_API=ad168782b78fde75ebc21c3c99688216
In Linux
export MOVIEDB_API=ad168782b78fde75ebc21c3c99688216
grunt serve
point your browser to http://localhost:9000 if you have the APIKEY or to http://localhost:9000/demo/ to check available demo apps.
grunt test
grunt test:e2e
To load the server
grunt serve