Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Springboot 2, Angular6, and Postgresql Integration Example

This repository is a simple example on how to integrate Springboot 2 with Angular 6 through RESTful webservice.

Prerequisites

1. JDK 1.8

2. Eclipse

3. Maven

3. Angular 6

4. Angular Material

5. Spring Boot 2.0.2.RELEASE

6 Spring Data JPA

7. PostgreSQL

The repository contains two separate apps i.e. customer-angular (frontend) and customer-springboot (backend). The interaction of these two apps is achieved through RESTful webservice, in which the customer-angular is a REST consumer and the rest is a REST provider. The customer-springboot used spring data jpa in handling DDL and DML, but instead of applying all its DML's default methods, I defined a custom query using spring data jpa's query annotation.

Notes:

1. I left the customer-angular's port by its default i.e. 4200 and customer-springboot's port is 8090 (you could change this in application.properties).

2. You need also change the postgres's user credetial to your own credential in application.properties

3. If the customer-angular app won't run, try to solve the issue by executing npm install in customer-angular root directory.

Releases

Packages

Contributors

Languages