- Install JDK 8+ and Maven 3.3+
- Install MySQL5.5+ Server
- Install NodeJS and npm (http://nodejs.org/download/)
- Install Build Tools
$ sudo npm install -g bower grunt-cli karma
- Install docker (optional)
Install MySQL and run the following SQL:
CREATE USER 'ngspring'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'ngspring'@'localhost';
CREATE DATABASE NGSPRING;
Run maven
$ mvn clean install idea:idea eclipse:eclipse
Projects can now imported in your favourite IDE
- start the backend:
$ vagrant up
$ cd angular-spring-boot-webapp
$ mvn spring-boot:run
- start the frontend:
$ cd angular-spring-boot-webapp
$ npm start
Browser now opens localhost:9000 and you can add some events ;)
Note: Any changes in the frontend will be lead to a reload in the browser
Backend is available at with user/password
$ mvn -Pdocker spring-boot:run