Introduction

Orveth is a modular TypeScript backend application platform by VLODIA. The framework center is @orveth/server (Orveth app, pattern routing, middleware); surrounding packages stay optional and composable. Phase 1 ships the HTTP foundation—routing, context, errors, and small official middleware—not a hosted runtime or full auth stack.

What Orveth provides

Start with @orveth/server or the orveth umbrella package. The runtime offers method + path routing with named parameters (/users/:id) and a trailing wildcard (/docs/*, stored as ctx.params["*"]),next()-style middleware (app-level then route-level), JSON/text helpers, and bounded readJson(). Optional modules add errors, strict config coercions, logging, validation types,Zod body validation, CORS, security headers, TLS, JWT, and Prisma operational helpers—each installable on its own.

What Orveth does not provide

  • SSR, templating, or a front-end bundler (not Next.js, not a full-stack UI framework).
  • An ORM or migrations—use Prisma or another client; @orveth/prisma only adds health and shutdown helpers.
  • Built-in OAuth, sessions, RBAC, queues, or a hosted runtime.

Early stage

Orveth is pre-1.0: APIs are published and tested, but semver-breaking changes may still occur. Pin versions in production and read changelogs when upgrading.

Package map

PackageFocus
@orveth/coreDisposable resources, initialization hooks, package metadata helpers.
@orveth/serverNode HTTP runtime: routing, middleware, JSON/text responses, body limits.
@orveth/httpHTTP status constants, response preparation, header utilities.
@orveth/errorsTyped errors with stable codes and JSON-safe normalization.
@orveth/configConfiguration parsing from arbitrary sources (typically environment variables).
@orveth/loggerLogger interface plus a JSON-lines console sink.
@orveth/validationDiscriminated validation results and a library-agnostic validator contract.
@orveth/validation-zodOfficial Zod adapter for JSON body validation (populates ctx.valid.body).
@orveth/corsCORS and OPTIONS preflight middleware.
@orveth/securityRequest correlation IDs and minimal security-oriented HTTP headers.
@orveth/httpsPEM loading and HTTPS listeners (transport only).
@orveth/jwtHS256 sign/verify and bearer header parsing.
@orveth/prismaDatabase health probes and graceful Prisma Client shutdown.
orvethOptional meta-package re-exporting every module above.

Why modular packages

Scoped installs keep dependency graphs explicit. Importing @orveth/server does not pull JWT, Prisma, or TLS helpers unless you add those packages yourself. That boundary makes upgrades and security review easier as services grow.

Continue with Getting started or browse the package index.