build tools
This commit is contained in:
@@ -5,10 +5,11 @@ In-memory API example, resets to the base dataset every 10 minutes.
|
|||||||
|
|
||||||
## Quick Start
|
## 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.
|
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
|
```bash
|
||||||
go tool reflex \
|
go tool reflex \
|
||||||
@@ -16,9 +17,10 @@ go tool reflex \
|
|||||||
-s -- sh -c 'go tool task dev-start-api'
|
-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
|
```json
|
||||||
{
|
{
|
||||||
"id": "bb8d39a6-8fef-48af-9f9c-27a41c8f8baf",
|
"id": "bb8d39a6-8fef-48af-9f9c-27a41c8f8baf",
|
||||||
|
|||||||
Reference in New Issue
Block a user