Bob Farrell 116668be3e Closes #48: Simplify route generation
Generate an array of `jetzig.views.Route` in `GenerateRoutes.zig` exe
instead of a meta-route that we later translate into an actual route.
This makes things much simpler for static routes at build time and
dynamic routes at run time as we no longer need to use comptime - we
just have an array of routes ready-made.
2024-04-02 21:02:27 +01:00
2024-04-02 21:02:27 +01:00
2024-03-11 18:38:48 +00:00
2024-03-28 21:07:16 +00:00
2024-01-15 11:05:17 +00:00
2024-03-17 13:17:46 +00:00

Jetzig Logo

Jetzig is a web framework written in 100% pure Zig 🦎 for Linux, OS X, Windows, and any OS that can compile Zig code.

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.
  • Request/response headers.
  • Stack trace output on error.
  • Static content generation.
  • Param/JSON payload parsing/abstracting.
  • Static content parameter definitions.
  • Middleware interface.
  • MIME type inference.
  • Environment configurations (develompent/production/etc.)
  • 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

Description
Jetzig is a web framework written in Zig
Readme MIT 1.3 MiB
Languages
Zig 99.4%
CSS 0.6%