Skip to content

aravindnali1997/spring-boot-react-example

Repository files navigation

react-and-spring-data-rest

The application has a react frontend and a Spring Boot Rest API, packaged as a single module Maven application. You can build the application using maven and run it as a Spring Boot application using the flat jar generated in target (java -jar target/*.jar).

You can test the main API using the following curl commands (shown with its output):


$ curl -v -u greg:turnquist localhost:8080/api/employees/3 { "firstName" : "Frodo", "lastName" : "Baggins", "description" : "ring bearer", "manager" : { "name" : "greg", "roles" : [ "ROLE_MANAGER" ] }, "_links" : { "self" : { "href" : "http:https://localhost:8080/api/employees/1" } } }


To see the frontend, navigate to http:https://localhost:8080. You are immediately redirected to a login form. Log in as greg/turnquist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages