Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zigcc/zig-todo-web-app
A Single-page TODO app in Zig!
https://github.com/zigcc/zig-todo-web-app
zig zig-library zig-package zig-programming-language ziglang
Last synced: about 1 month ago
JSON representation
A Single-page TODO app in Zig!
- Host: GitHub
- URL: https://github.com/zigcc/zig-todo-web-app
- Owner: zigcc
- Created: 2024-07-19T06:03:04.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T15:10:42.000Z (6 months ago)
- Last Synced: 2024-10-16T19:20:46.302Z (3 months ago)
- Topics: zig, zig-library, zig-package, zig-programming-language, ziglang
- Language: Zig
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* TodoAPP
A Single-page TODO app in Zig!* How to use
** Jetzig-app
- Download jetzig at https://www.jetzig.dev/downloads.html
- Run =jetzig server= in =jetzig-app= directory
- Open [[http://localhost:8080/][http://localhost:8080/]] in browser to explore!* Backend endpoints
| 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 |