16 lines
562 B
Markdown
16 lines
562 B
Markdown
# Todo Back
|
|
|
|
Todo Back provides a small REST API for testing a native StartOS service installation.
|
|
|
|
After starting the service, open **Interfaces** and copy the Todo API URL. Use `/todos` to manage items. For example:
|
|
|
|
```sh
|
|
curl "$TODO_API/todos"
|
|
|
|
curl -X POST "$TODO_API/todos" \
|
|
-H 'Content-Type: application/json' \
|
|
-d '{"todo":{"title":"Test StartOS sideload","completed":false}}'
|
|
```
|
|
|
|
The service has no login in this MVP. Keep the interface limited to trusted gateways. PostgreSQL data and generated internal secrets are included in StartOS backups.
|