Zero Web Framework: Introduction!

Hello members!

I’m Ng, a beginner to zig, and I’ve developed a little web framework to help the zig community. It wasn’t much, but I wanted to return a thing or two.

zero is a zig web framework designed to provide inspiration and a clear methodology for writing microservices for Kubernetes deployments.

zero is a highly opinionated framework designed to facilitate development while maintaining observability and performance. It strives for zero allocations and built on top of http.zig

The zero framework is fully customizable; you may use the 12 Factor App technique to isolate and attach best-in-class built-in solutions as you see appropriate.

The zero framework provides practical features like REST, authentication, and drop-in support for many databases, queuing systems, and external services.

Key features:

  • Build REST Standard out-of-box
  • Configuration Management
  • Well defined logging for better readability
  • Schedule tasks for one or more repetition
  • Track and expose application metrics for observability
  • Trace application performance with ease
  • In-built Auth middlewares
  • Http Service Client
  • Pub/Sub
  • Database seed and migrations
  • Cron Jobs
  • Websockets
  • Liveliness check

zero-docs covers all examples and documentations of the zero framework. Take a deep dive into the framework, usage, and outcomes of each built-in service and solution.

I’d really appreciate all the feedback on this work to create a viable and better framework for the community.

11 Likes

Can’t say anything about the code yet,
but the documentation is impressive!!!

I’m “struggling” with my own site right now, so I can appreciate the titanic effort.

Respect

4 Likes