An open API service indexing awesome lists of open source software.

https://github.com/stormpath/stormpath-spring-boot-react-example

React App with Spring Boot and Stormpath
https://github.com/stormpath/stormpath-spring-boot-react-example

Last synced: 12 months ago
JSON representation

React App with Spring Boot and Stormpath

Awesome Lists containing this project

README

          

#Stormpath is Joining Okta
We are incredibly excited to announce that [Stormpath is joining forces with Okta](https://stormpath.com/blog/stormpaths-new-path?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement). Please visit [the Migration FAQs](https://stormpath.com/oktaplusstormpath?utm_source=github&utm_medium=readme&utm-campaign=okta-announcement) for a detailed look at what this means for Stormpath users.

We're available to answer all questions at [support@stormpath.com](mailto:support@stormpath.com).

# React App with Spring Boot

This is the code developed in a [Stormpath blog post on creating a React App using Spring Boot](https://stormpath.com/blog/crud-application-react-spring-boot-user-authentication).

### 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

```sh
$ 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