LAUNCH PROMOSave 20% on ArkRealm Auth Starter (first 15 licenses) — code LAUNCH auto-applied at checkout.
ArkRealm logoArkRealm
All ArkRealm Products
Backend & AuthAvailable Now · v1.0.0

Self-hosted authentication without monolith bloat or MAU taxes.

A standalone Node.js 24 + Express 5 + PostgreSQL 18 + Redis 8 authentication service paired with a clean Next.js 16 + Tailwind CSS v4 + shadcn/ui frontend. Own your identity stack forever.

Node.js 24Express 5TypeScriptPostgreSQL 18Prisma 7Redis 8Next.js 16Tailwind CSS v4shadcn/ui
Repository Architecture2 Clean Repositories
arkrealm/auth-apiExpress 5 + Prisma 7 + Redis 8
├── prisma/
│   └── schema.prisma      # Users, Sessions, Verification Tokens
├── src/
│   ├── config/            # Env validation, Redis 8, Postgres 18
│   ├── controllers/       # Register, Login, Refresh, Logout
│   ├── middlewares/       # Auth guard & Redis rate-limiter
│   ├── services/          # Token rotation & Argon2 hashing
│   └── routes/            # Versioned REST endpoints
└── docker-compose.yml     # Local Postgres 18 + Redis 8
arkrealm/auth-uiNext.js 16 + Tailwind v4 + shadcn/ui
├── src/app/
│   ├── (auth)/
│   │   ├── login/         # Credential & session flow
│   │   ├── register/      # Validation + email verification
│   │   └── reset/         # Password recovery flow
│   └── dashboard/         # Protected user & active sessions
├── src/components/ui/     # Accessible shadcn/ui primitives
└── src/lib/api-client.ts  # Typed fetch + silent refresh

Architecture Overview

Node.js 24 · Express 5 · TypeScript

Standalone auth-api Service

An independent REST identity service—not trapped inside Next.js API routes. Connect web apps, mobile apps, or microservices to one central auth backend.

PostgreSQL 18 · Prisma 7 · Redis 8

Relational Persistence & Redis Sessions

Clean Prisma schemas for users, sessions, and verification tokens backed by Redis 8 for instant session revocation and sliding-window rate limiting.

Next.js 16 · Tailwind CSS v4 · shadcn/ui

Clean auth-ui Frontend

Pre-wired login, registration, email verification, password recovery, and protected session views without unused blogs, CMSs, or payment clutter.

What's Engineered Inside

HttpOnly Cookies & Refresh Token Rotation

Short-lived access tokens paired with rotating refresh tokens stored in secure HttpOnly cookies with automatic reuse detection.

Redis-Backed Rate Limiting & Lockouts

Per-IP and per-account brute-force protection on login, registration, and password reset endpoints powered by Redis 8.

Active Session Inspection & Revocation

Track active sessions across devices and revoke individual sessions or sign out everywhere in milliseconds.

End-to-End Strict TypeScript & Zod

Shared request/response validation schemas, consistent error envelopes, and readable middleware guards you can audit in an afternoon.

Release Security Verification
Verified on v1.0.0
Static Analysis (SAST)(CodeQL & Semgrep)
Passed · 0 findings
Dependency Audit (SCA)(pnpm audit --prod)
Passed · 0 known CVEs
Container & Filesystem(Trivy (Node 24 image & FS))
Passed · 0 High/Critical
Git History & Secret Scan(Gitleaks)
Passed · 0 leaked secrets
Dynamic API Scan (DAST)(OWASP ZAP Baseline)
Passed · Headers & cookies verified

Build vs. Rent

ArkRealm Auth Starter vs. Managed Auth SaaS

Managed providers like Clerk and Auth0 are great if you want zero infrastructure to run. Choose ArkRealm when you want full data ownership, a standalone REST API, and zero recurring user taxes.

FactorManaged Auth SaaS (Clerk / Auth0)ArkRealm Auth Starter
Pricing ModelFree tier, then $20–$150+/mo + per-MAU/MRU overages$47.20 one-time ($59 regular) — unlimited users forever
User & Session DataHosted on third-party infrastructure100% inside your own PostgreSQL 18 & Redis 8 databases
Backend ArchitectureProprietary SDKs, hosted UIs & webhook syncStandalone Express 5 REST API + decoupled Next.js 16 UI
Session RevocationDepends on JWT expiry or vendor API round-tripsSub-millisecond revocation in your own Redis 8 store
CustomizationConstrained to vendor hooks, actions & plan tiersFull TypeScript source code — modify every line

One-Time License

Pay once. Self-host forever.

The 20% LAUNCH discount is pre-applied on both Polar checkout links below.

Single (Solo) License
20% LAUNCH OFF

For indie developers and solo founders shipping their own products.

$47.20$59USD · one-time
  • Full source code for auth-api & auth-ui
  • Automated GitHub invite to arkrealm/auth-api & arkrealm/auth-ui
  • Instant arkrealm-auth-starter-v1.0.0.zip download
  • All v1.x security patches & updates
  • Unlimited personal & solo-owned commercial projects
  • One-time payment — zero MAU fees
Team / Agency License
CLIENT & TEAM WORK

For engineering teams, studios, and agencies building client apps.

$119.20$149USD · one-time
  • Everything in the Single (Solo) License
  • Team / Agency license for up to 10 developers
  • Instant GitHub access for 1 primary account + up to 9 extra handles on request
  • Unlimited client deliverables & internal commercial projects
  • All v1.x updates & priority email support
  • One-time payment — own the codebase forever

Instant ZIP download and automated GitHub repository invite via Polar.sh. Review Solo vs. Team license terms.

Frequently asked questions