Show HN: Doo – Generate auth and CRUD APIs from struct definitions Built Doo because I was tired of writing 200 lines of auth boilerplate for every API. Example (complete API): import std::Http::Server; import std::Database; struct User { id: Int @primary @auto, email: Str @email @unique, password: Str @hash, } fn main() { let db = Database::postgres()?; let app = Server::new(":3000"); app.auth("/signup", "/login", User, db); app.crud("/todos", Todo, db); // Todo = any struct you define app.start(); } Result: - POST /signup with email validation + password hashing (automatic from @email, @hash) - POST /login with JWT - Full CRUD endpoints for GET, POST, GET/:id, PUT/:id, DELETE/:id - Compiles to native binary Status: Alpha v0.3.0. Auth, CRUD, validation, and Postgres working. Actively fixing bugs. https://ift.tt/dxeIQ13 What would you need to see before using this in production? https://ift.tt/dxeIQ13 January 6, 2026 at 10:59PM