docs: add optional watchexec command to README.md
All checks were successful
CI / Get Changed Files (pull_request) Successful in 25s
CI / Checkstyle Main (pull_request) Has been skipped
CI / eslint (pull_request) Has been skipped
CI / prettier (pull_request) Has been skipped
CI / test-build (pull_request) Has been skipped

This commit is contained in:
Jan K9f 2025-03-27 10:47:46 +01:00
parent cc92f234d7
commit 71cda97dab
Signed by: jank
GPG key ID: 22BEAC760B3333D6

View file

@ -67,6 +67,11 @@ cd backend
./gradlew bootRun
```
You may optionally install [watchexec](https://github.com/watchexec/watchexec?tab=readme-ov-file) and use this command to autorecompile the backend on file changes:
```bash
watchexec -r -e java ./gradlew :bootRun
```
The backend will be available at:
- API endpoint: http://localhost:8080
- Swagger documentation: http://localhost:8080/swagger
@ -164,4 +169,4 @@ References:
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.