This is an example of implementation of a Questionnaire.
Stack:
- Spring Boot on the backend
- AngularJS 2 on the frontend
- TypeScript as frontend language
- mysql for database
Prerequisites:
- install maven and npm
- install mysql
- install angular-cli
npm install -g @angular/cli
BEFORE YOU INSTALL: please read the prerequisites
####For Run(js server + java server):
- Create Database
- mysql -u username -p < [PARENT_MODULE]/sql/questionnaire_db.sql
- Package the java project or launch Application.java from your IDE
- mvn clean package
- launch the backend spring boot application, it runs in localhost:8081
- java -jar [PARENT_MODULE]/server/target/questionnaire.war
- launch the webpack server for the frontend
- cd [PARENT_MODULE]/webClient
- npm install
- ng serve
- go on http://localhost:4200