How michaelkc/hydro-passwords works
Project type and purpose
• This is a minimal full-stack web application built with ASP.NET Core Razor Pages.
• Purpose: a “tech sample” for Hydro that exposes a password-generation UI and demonstrates styling with TailwindCSS, server‐side hosting, and a custom build pipeline using Nuke.
File structure
• Top‐level:
• .github/workflows/ci.yml → CI pipeline definition
• .nuke/ → Nuke build framework schema and parameters
• build.cmd/ps1/sh & build/Build.cs → custom build orchestration (Nuke)
• src/Host/ → Razor Pages web host
• hydro-passwords.sln → Visual Studio/.NET solution
• src/Host contains:
• Pages/ → Razor Pages (UI, components)
• Utils/TailwindHostedService.cs → background service to watch/build Tailwind CSS
• wwwroot/ → static assets (CSS, JS, images)
• Program.cs & appsettings.json → host configuration and startup
README
• Only describes “Tech sample for Hydro.” No deeper architecture info. We infer from code: it’s a demonstration web UI, styled with Tailwind, built and tested via Nuke and GitHub Actions.
Detail
• Every directory of note in the web host (Pages, Utils, wwwroot).
• How build scripts (.cmd/.sh/.ps1) tie into the Nuke project.