Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmwylie19/pepr-todo-list
https://github.com/cmwylie19/pepr-todo-list
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmwylie19/pepr-todo-list
- Owner: cmwylie19
- Created: 2023-10-05T16:22:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-10T16:29:14.000Z (about 1 year ago)
- Last Synced: 2024-04-22T00:21:41.224Z (8 months ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todos
Cloud Native Todolist implementation using Pepr showcasing _Watch_ and _Store_.
## Usage
Quick Start:
```bash
k3d cluster delete; k3d cluster create; npx pepr dev --confirm
```Get todo list:
```bash
alias todolist="k get secret todos -n todolist -ojsonpath='{.data.list}' | base64 -d | jq"
```Create the namespace:
```bash
k create ns todolist
```Create a Todo item:
Add milk to the todolist...
```bash
k create cm -n todolist milk \
--from-literal=status="incomplete" \
--from-literal=task="Buy milk"
```Add coffee to the todolist...
```bash
k create cm -n todolist coffee \
--from-literal=status="incomplete" \
--from-literal=task="Buy coffee"
```Add sugar to the todolist...
```bash
k create cm -n todolist sugar \
--from-literal=status="incomplete" \
--from-literal=task="Buy sugar"
```Add gum to the todolist...
```bash
k create cm -n todolist gum \
--from-literal=status="incomplete" \
--from-literal=task="Buy gum"
```Mark coffee as complete:
```yaml
k apply -f -<