A Single-page TODO app in Zig!
- Download jetzig at https://www.jetzig.dev/downloads.html
- Run
jetzig server
injetzig-app
directory - Open http://localhost:8080/ in browser to explore!
Route | Function | Content-Type |
---|---|---|
GET / | index page | html |
POST /api/todos | create new todo | json |
GET /api/todos/:id | get todo | json |
PUT /api/todos/:id | update todo | json |
DELETE /api/todos/id | delete todo | json |