Simple Java Spring-Boot AngularJS Single-page application built on JHipster Yeoman generator.
Demo page can be found here: memorygame-hannulyri.rhcloud.com
# Clone your GitHub repository
git clone https://github.com/hannulyri/memorygame.git
# Go to the memorygame directory
cd memorygame
# Install npm packages
npm installCreate MySQL-database called memorygame and check the database configuration:
/src/main/resources/config/application-dev.yml(developer-profile)/src/main/resources/config/application-prod.yml(production-profile)
# Run application with maven in developer mode
mvn spring-boot:runYou can run the application in production mode with mvn -P prod spring-boot:run
Project has java Springframework tests, javascript Karma tests and Protractor javavscript E2E-tests.
# karma-tests are run in the basedirectory of the project
grunt test# update webdriver-manager
node node_modules\protractor\bin\webdriver-manager update --standaloneThen run the tests:
- Open a console and run the project
mvn spring-boot:run - Open another console and start webdriver-manager
node node_modules\protractor\bin\webdriver-manager start - Open a third console and run the tests
protractor src\test\javascript\protractor\protractor.conf.js