E-Resort project
This project developed in order to test some front-end validation tools such as karma & protractor. Moreover it would be a good chance for us to test some java tools in the server-side (back-end) code. To be more specific, this rep includes:
######Dev Tools:
- AngularJs
######Package managers:
- npm
- bower
######Task runner:
- grunt
- JAX-RS: Java API for RESTful Web Services
- JPA: Java Persistence Api
- Derby
###Install front-end libraries We take it for granted that you already have installed npm and bower package managers. We assume also that you have a basic knowledge of command line syntax. In order to avoid manual installation for every package, two list files have been made:
- bower.js and
- package.json
These files contain the total packages that are needed to run 'n test e-res. Some packages are included for future releases.
Access the following path:
e-res/src/main/webapp
and run in command line (maybe super user rights are needed)
npm install
(bower.js will be used automatically)bower install
(package.json will be used automatically)
###Run tests
This project contains some End-to-End tests and some Unit tests. The run task of each, is completely automated. Access the e-res/src/main/webapp
(webapp home folder) and run:
- Run e2e tests with
grunt protractor
- Run unit tests with
grunt karma:unit