Contact list application using AngularJS, providing CRUD (Create, Retrieve, Update, Delete) functionality for the contacts.
1 - Clone this repository and access the generated folder
$ git clone git@github.com:willmendesneto/angular-contact-list.git [project-name]
$ cd [project-name]2 - Run the commands for download application dependencies
$ npm install #install node dependencies
$ bower install #install bower dependenciesOBS: To verify if all modules that this app has dependency are installed. The list of all them are in package.json file.
3 - Run grunt serve command for run local server command
$ grunt serveAfter this, access http://localhost:9000 for use this app
4 - Run application tests
$ grunt test # runn karma tests
$ grunt watch:jsTest # watch tests and scripts folder and run karma tests if these files will be modified5 - Run application E2E tests In you first terminal tab run the command
$ ./node_modules/protractor/bin/webdriver-manager start # start webdriverNow, open a new terminal tab and run the command
$ ./node_modules/protractor/bin/protractor protractor_conf.js # runn protractor tests6 - Build application
$ grunt7 - Run server based in dist folder
$ grunt serve:distThis project use (actually globally):
###Ruby
sassandcompassfor stylesheets;
###NodeJS
karmalike test runner;protractorfor e2e tests;grunt-clifor run grunt commands in CLI;bowerlike package manager for the web;yoandgenerator-angularfor code/scaffolding generator;jshintfor lint script files;
###Frontend
All list of frontend dependencies are in bower.json file.
###Backend
All list of backend dependencies are in package.json file.