Initial QSfera import
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# 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`.
|
||||
Reference in New Issue
Block a user