https://github.com/buzypi/spring-boot-react-demo
This project shows a fully functioning Spring Boot application which exposes a REST interface that can be used to fetch a list of entities from a MySQL database and render the same in a React based client side application. This project has been specifically built for the participants of the Spring Boot training.
https://github.com/buzypi/spring-boot-react-demo
react spring-boot spring-data-jpa spring-jpa spring-mvc spring-rest
Last synced: 2 months ago
JSON representation
This project shows a fully functioning Spring Boot application which exposes a REST interface that can be used to fetch a list of entities from a MySQL database and render the same in a React based client side application. This project has been specifically built for the participants of the Spring Boot training.
- Host: GitHub
- URL: https://github.com/buzypi/spring-boot-react-demo
- Owner: buzypi
- License: mit
- Created: 2018-10-29T09:56:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T11:31:59.000Z (over 3 years ago)
- Last Synced: 2026-04-04T10:48:08.748Z (2 months ago)
- Topics: react, spring-boot, spring-data-jpa, spring-jpa, spring-mvc, spring-rest
- Language: Java
- Homepage: http://virtualcoach.jnaapti.com/
- Size: 291 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This project shows a fully functioning Spring Boot application which exposes a REST interface that can be used to fetch a list of entities from a MySQL database and render the same in a React based client side application.
# Running this application
1. Create a database and a user using the following commands:
```
CREATE DATABASE contactsdb;
CREATE USER 'john'@'localhost' identified by 'yourpasswordhere';
GRANT ALL ON contactsdb.* to 'john'@'localhost';
```
2. Import this project into Eclipse or Visual Studio Code
3. Run the webpack bundler in watch mode using:
```
npx webpack --watch
```
4. Configure application.properties with the appropriate values
5. Run the DemoApplication from your IDE
6. Access your application at: [http://localhost:8080/](http://localhost:8080/)