https://github.com/zebrajaeger/springboot-angular2ts-starter
A simple starter Project for a project that integrates angular 2 in a Spring Boot environment
https://github.com/zebrajaeger/springboot-angular2ts-starter
angular-2 example-project java spring-boot typescript
Last synced: about 2 months ago
JSON representation
A simple starter Project for a project that integrates angular 2 in a Spring Boot environment
- Host: GitHub
- URL: https://github.com/zebrajaeger/springboot-angular2ts-starter
- Owner: zebrajaeger
- License: mit
- Created: 2017-02-06T14:28:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-01T07:27:37.000Z (over 7 years ago)
- Last Synced: 2025-02-07T23:42:55.205Z (3 months ago)
- Topics: angular-2, example-project, java, spring-boot, typescript
- Language: Java
- Size: 76.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
This is a Maven archetype to start with an a simple Angular 2 project
that is directly integrated into a Spring Boot Server.* It exposes the angular application on root ('/' and '/index.html')
* The REST api is exposed under /api/**Preconditions**
* java (JDK) is installed
* maven ist installed
* node.js is installed
* git is installed (optional)**Usage**
* Check out this project by calling 'git clone https://github.com/zebrajaeger/springboot-angular2ts-starter'
* Without git you can download a zip at https://github.com/zebrajaeger/springboot-angular2ts-starter/archive/master.zipThere a two modes
* Ever step starts with the following steps
* run 'mvn install' in the project root
* execute the .jar under webapp/target (java -jar xxx.jar)
* Running the Spring webapp and the Angular app separate (Develop)
* Go to frontend and execute npm run start (is watches file changes)
* Open Browser at http://localhost:4201
* Together in one .jar (Production, Angular is embedded)
* Open Browser at http://localhost:8080