Merge pull request 'docs: add optional watchexec command to README.md' (!95) from add-some-docs into main

Reviewed-on: #95
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
This commit is contained in:
Phan Huy Tran 2025-03-27 10:42:27 +00:00
commit 4f6add087b

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