build tools

This commit is contained in:
Bartal Læarsson
2026-06-25 13:28:06 +01:00
parent 2e34d80ee5
commit 2e4278befe
+5 -3
View File
@@ -5,10 +5,11 @@ In-memory API example, resets to the base dataset every 10 minutes.
## Quick Start
I use Taskfile (modern GNU Make iteration) for building and deploying.
I use `Taskfile` (modern GNU Make iteration) for building and deploying.
for like resbuilding binaries after code changes, I prefer to use `reflex` by cespare.
The Tool is baked into this repository with no deps just run
I have no idea if this works for windows. I guess it should as it is Golang?
The tool is baked into this repository with no deps just run
```bash
go tool reflex \
@@ -16,9 +17,10 @@ go tool reflex \
-s -- sh -c 'go tool task dev-start-api'
```
this starts the server on localhost:8080 by default, can be changed with something like `go run ./cmd/api -port :19988`
## JSON Model
json model:
```json
{
"id": "bb8d39a6-8fef-48af-9f9c-27a41c8f8baf",