https://github.com/giulioz/po1_exercise4
A small demo on how to build a multiplayer board game using Spring Boot and React
https://github.com/giulioz/po1_exercise4
http java react spring spring-boot
Last synced: 10 months ago
JSON representation
A small demo on how to build a multiplayer board game using Spring Boot and React
- Host: GitHub
- URL: https://github.com/giulioz/po1_exercise4
- Owner: giulioz
- Created: 2020-11-26T22:35:37.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-22T07:12:37.000Z (about 5 years ago)
- Last Synced: 2025-04-15T01:14:49.128Z (10 months ago)
- Topics: http, java, react, spring, spring-boot
- Language: Java
- Homepage:
- Size: 354 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PO1_Exercise4
A small demo on how to build a multiplayer board game using Spring Boot and React.

## Building and running
The project is a Gradle Spring application. To run it you need to call the `bootRun` gradle task:
```bash
git clone https://github.com/giulioz/PO1_Exercise4.git
cd PO1_Exercise4
./gradlew bootRun
```
This task will take care of the build and run process. To open the application (while it is running) use a browser to navigate to [http://localhost:8080](http://localhost:8080).
### Frontend Dev Mode
The React frontend code is located in `src/main/resources/board-react-app`, and uses [create-react-app](https://create-react-app.dev/). You can use a live-reload dev environment using [Node.js](https://nodejs.org/it/):
```bash
cd src/main/resources/board-react-app
npm -g install yarn
yarn install
yarn start
```