StackAuth

Auth system built with zero ORMs

Overview

StackAuth is a deliberate exercise in understanding what ORMs abstract away. All database queries use parameterized SQL via the pg driver with connection pooling. Features JWT authentication with httpOnly cookies, role-based access control, Zod validation on every endpoint, auto-bootstrapping schema, and interactive Swagger documentation.

Tech Stack

Node.js
Express.js
PostgreSQL
JWT
bcrypt
Zod
Swagger