Skip to content

stormpath/stormpath-spring-boot-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Stormpath is Joining Okta We are incredibly excited to announce that Stormpath is joining forces with Okta. Please visit the Migration FAQs for a detailed look at what this means for Stormpath users.

We're available to answer all questions at [email protected].

React App with Spring Boot

This is the code developed in a Stormpath blog post on creating a React App using Spring Boot.

Requirements

  • Maven
  • JDK 7

Configuration

First you need to edit application.properties and put in your Stormpath application keys.

Also to enable deletion you need to either delete the void delete() method in EmployeeRepository.java or replace 'ROLE_ADMIN' with the URL of the Stormpath Group you are using to authorize.

Running

To build and start the server simply type

$ mvn spring-boot:run

from the root directory.

Using

Browse to localhost:8080 to see the application in action.

The database is in memory so rebooting should reset the data.

License

MIT