21 lines
456 B
Markdown
21 lines
456 B
Markdown
# Keeper Notes Service
|
|
|
|
Small REST service for the `G:\Repos\QSfera\Keeper` Android app.
|
|
|
|
## Run
|
|
|
|
```powershell
|
|
go run .\services\keepernotes\cmd\keepernotes -addr :8098 -data .\keeper-notes.json
|
|
```
|
|
|
|
The Android emulator can reach the host service through `http://10.0.2.2:8098`.
|
|
|
|
## API
|
|
|
|
* `GET /healthz`
|
|
* `GET /api/notes`
|
|
* `PUT /api/notes/{id}`
|
|
* `DELETE /api/notes/{id}`
|
|
|
|
Notes are stored in a JSON file configured by `-data` or `KEEPER_NOTES_DATA`.
|