jetzig/README.md
Bob Farrell 216b86c235 JSON and query param parsing/SSG params
Implement `jetzig.http.Request.params()` which parses either a JSON
request body or a query param string into a `jetzig.data.Value`.

Allow configuring params for static site generation - configure an array
of params for each endpoint which is then parsed at build time and a
separate JSON and HTML output is generated for each by invoking the
relevant view function and passing in resource ID/params. Params are
stored in generated `routes.zig` for route matching at run time.
2024-02-25 09:25:00 +00:00

2.1 KiB

Jetzig Logo

Jetzig is a web framework written in Zig 🦎.

The framework is under active development and is currently in an alpha state.

Official website: jetzig.dev

Jetzig aims to provide a rich set of user-friendly tools for building modern web applications quickly. See the checklist below.

Join us on Discord ! https://discord.gg/eufqssz7X6.

If you are interested in Jetzig you will probably find these tools interesting too:

Checklist

  • File system-based routing with [slug] matching.
  • HTML and JSON response (inferred from extension and/or Accept header).
  • JSON-compatible response data builder.
  • HTML templating (see Zmpl).
  • Per-request arena allocator.
  • Sessions.
  • Cookies.
  • Error handling.
  • Static content from /public directory.
  • Headers (available but not yet wrapped).
  • Stack trace output on error.
  • Static content generation.
  • Param/JSON payload parsing/abstracting.
  • Static content paramater definitions.
  • Environment configurations (develompent/production/etc.)
  • Middleware extensions (for e.g. authentication).
  • Email delivery.
  • Custom/non-conventional routes.
  • General-purpose cache.
  • Background jobs.
  • Testing helpers for testing HTTP requests/responses.
  • Development server auto-reload.
  • Database integration.
  • Email receipt (via SendGrid/AWS SES/etc.)

LICENSE

MIT

Contributors