Skip to main content
Mizu is a good fit when you want a lightweight HTTP layer without framework lock-in. Here are common use cases with practical examples.

REST APIs

Build JSON APIs with typed handlers and central error handling. This is Mizu’s sweet spot.

Backend for SPAs and Mobile

Serve JSON data for React, Vue, or mobile applications. Add CORS headers for cross-origin requests.

Microservices

Create small, focused services. Mizu’s minimal footprint means fast startup times and low memory usage.

Prototypes and Internal Tools

Go from idea to running server quickly. A complete Mizu app fits in a single file.

Server-Side Rendering

Serve HTML pages with Go’s html/template package. Mizu handles routing and static files while you use standard library templates.

Real-Time Updates with SSE

Stream data to clients using Server-Sent Events. Useful for live dashboards, notifications, and progress updates.

When Mizu is not the right choice

Mizu stays focused on HTTP routing and request handling. For everything else, pick the Go library you prefer.