/spring-react

Primary LanguageJavaScriptApache License 2.0Apache-2.0

JUG Tours with Spring Boot and React

This example app shows how to create a Spring Boot API and CRUD (create, read, update, and delete) its data with a React app.

Prerequisites: Java 8, Node.js 8+, and Yarn. You can use npm instead of Yarn, but you'll need to translate the Yarn syntax to npm.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/duTianze/spring-react.git
cd spring-react

This will get a copy of the project installed locally. To install all of its dependencies and start each app, follow the instructions below.

To run the server, run:

./mvnw spring-boot:run

To run the client, cd into the app folder and run:

yarn && yarn start

Links

This example uses the following open source libraries:

update from

Use React and Spring Boot to Build a Simple CRUD App

License

Apache 2.0, see LICENSE.