docs: add optional watchexec command to README.md #95

Merged
ptran merged 1 commit from add-some-docs into main 2025-03-27 10:42:28 +00:00

View file

@ -67,6 +67,11 @@ cd backend
./gradlew bootRun ./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: The backend will be available at:
- API endpoint: http://localhost:8080 - API endpoint: http://localhost:8080
- Swagger documentation: http://localhost:8080/swagger - Swagger documentation: http://localhost:8080/swagger