Skip to content

hypery2k/angular-spring-boot-sample

Repository files navigation

Angular Spring Demo Application

Build Status

Development-Setup

Setup

$ sudo npm install -g bower grunt-cli karma

local setup

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

Development

  1. start the backend:
$ vagrant up
$ cd angular-spring-boot-webapp
$ mvn spring-boot:run
  1. 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

API is available at

Docker

Run

$ mvn -Pdocker spring-boot:run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published