Skip to content
mzbali.

BugBlitz

Bug tracker for small teams, with sign-in handled by ZITADEL.

2024.NET, Next.js, PostgreSQL, Docker

Code

BugBlitz

What it is

BugBlitz is a bug tracker for small teams. You create a project, add members, and log bugs with a title, description, priority and status. Members can edit, close and reopen bugs, and leave notes on them for each other. Projects and bugs can be sorted by priority or recent activity and filtered by name.

How it is built

  • API: .NET 8 with Entity Framework Core and PostgreSQL.
  • Client: Next.js with Tailwind CSS and a customised shadcn/ui. Forms use React Hook Form with Zod validation.
  • Sign-in: ZITADEL handles passwords and sign-in. The client keeps the session with NextAuth, and the API checks the JWT on each request.
  • Caching: API responses are cached by Next.js with tags for projects, bugs and notes. When something changes, the server action clears that tag.

Screenshots

Project page with its list of bugs

Project Page

Bug details page with notes

Bug Details Page

Build and deployment

Pull requests to the client run linting, type, formatting and test checks in GitHub Actions, and release-please writes the changelog. Pushes to main build the API and client as ARM64 Docker images and push them to the GitHub Container Registry.

It first ran on an Azure VM with CapRover and Let's Encrypt for HTTPS. That server has since been shut down, so there is no live demo at the moment.

What I learned

  • Moving sign-in to ZITADEL removed a lot of auth code from the API and made it simpler to reason about.
  • This was my first time owning the whole path from code to a running server, including Docker, a reverse proxy and certificates.
← All projects