OXYIDE FORGEv1.0.0Production-ready Fastify + Prisma starter

Skip the boilerplate. Ship the product.

Auth, RBAC, validation, migrations and a full test suite, wired together and ready on day one. Clone it, run one command, start building features.

Running in minutes

One setup command, no manual wiring

Rules enforced in CI

Architecture boundaries can’t quietly erode

Your code, your rules

Plain source, no lock-in, no per-seat fees

Oxyide Forge · v1.0.0

Oxyide Forge repository summary

Folders59
Files332
Lines of code66,999
Documentation files37
Business modules6
Test files143
Prisma models8
Migrations10

Modules

authauthorizationhealthnotesrolesusers
Repository overview59 folders · 332 files
Architectural decisions

You’ve answered these questions before.

Every new backend means the same decisions, and the same week or two spent making them. Forge makes them once, makes them well, and documents why.

Authentication

Where should authentication live?

The boilerplate dilemma

Where should authentication live? Building this from scratch for every project means repeating the same decisions, wiring, and review — before any product logic exists.

The Oxyide Forge standard

This concern is already implemented, structured, and verified in the release. You keep it and extend it.

Each concern maps to a ready-to-use Forge module1 of 6
Core modules

The foundation, done properly.

Everything most backends need before the first line of product code, built to be read, reviewed and extended.

Authentication

Email and password sign-in with bcrypt hashing at cost 12. Short-lived JWT access tokens are paired with rotating refresh sessions that are stored only as hashes, carry an expiry and can be revoked.

Fastify 5 · TypeScriptReady on day 1

Authorization

Roles, permissions and per-route guards, enforced on the server with deny-by-default behaviour and separate read and write codes.

Fastify 5 · TypeScriptReady on day 1

Validation

Zod schemas at every API boundary. Unknown fields are rejected rather than ignored, and a failure comes back as a readable 400.

Fastify 5 · TypeScriptReady on day 1

Database

PostgreSQL through Prisma: an explicit data model, versioned migrations, and transactional writes for the operations that span several tables.

Fastify 5 · TypeScriptReady on day 1

Operations

Liveness and readiness endpoints that answer separately, structured request logging with a request id on every call, security headers, and throttling on the login endpoints.

Fastify 5 · TypeScriptReady on day 1

Testing

Unit, integration and end-to-end suites across the API, the web client and the browser, alongside type checking, linting and schema validation.

Fastify 5 · TypeScriptReady on day 1
System design

A foundation with clear boundaries.

Application modules stay separate from shared concerns and infrastructure, making the foundation easier to understand and extend.

Oxyide Forge architecture concept
PROJECT STRUCTURE

Know where your code belongs.

Application modules stay separate from shared concerns and infrastructure, making the foundation easier to understand and extend.

oxyide-forge — workspace

src/app/server.ts

import type { FastifyInstance } from 'fastify';import { config } from '../config/index.js';import { installShutdownHandlers } from './lifecycle.js';export async function startServer(app: FastifyInstance): Promise<FastifyInstance> {  const { host, port } = config;  // …  installShutdownHandlers(app);  await app.listen({ host, port });  app.log.info({ host, port }, 'Fastify application started');  return app;}
TerminalProblemsOutputbash
main*Prettier
Interactive preview of the Oxyide Forge v1.0.0 workspace · Representative demonstration — these commands are not executed in your browser.
Groundwork velocity

Weeks of groundwork, already in the repo.

Auth, permissions, data access and testing aren’t what makes your product special, but they have to be right. Here is what’s already built:

Authentication

JWT access tokens, rotating refresh sessions, bcrypt hashing, lockout

~26 hrs saved

RBAC

Roles, permissions, route guards and ownership policies

~6 hrs saved

Database + ORM

Prisma schema, additive migrations, repository boundary

~12 hrs saved

API foundation

Application factory, versioned routes, OpenAPI contract

~5 hrs saved

Validation & errors

Zod-validated configuration, strict request schemas, RFC7807

~6 hrs saved

Testing foundation

Unit, integration, contract and architecture suites

~11 hrs saved
Sprint time investment

Setup debt vs. product commits

Building the foundation (auth, sessions, migrations, route security, test harnesses) from scratch consumes weeks before any business logic is touched.

Pre-built effort138.5 hrs~3.5 dev sprints
Time to 1st feature15 minsnpm ci · setup · test
Estimated engineer rate$150/hr
Estimated value of time saved (116 hrs):$17,430

Do you want to spend weeks rebuilding this from scratch? Of course not — start building your product right now and skip the groundwork entirely.

Technology choices

Built around technologies you already know.

No exotic experiments or abandoned packages — selected for stability, speed, and widespread production adoption.

RUNTIME
Fastify
HTTP framework
TypeScript
Application language
Node.js
Runtime
DATA
PostgreSQL
Relational database
Prisma
ORM / data access
Redis
Infrastructure-ready cache
SECURITY
JWT
Authentication
bcrypt
Password hashing
VALIDATION
Zod
Schema validation
OBSERVABILITY
Pino
Structured logging
Target audience

Built for people shipping real software.

See if it fits your next project
01

Solo developers

Stop rebuilding the same setup. Start every new backend from a structure you already trust.

02

Startup teams

Get auth, permissions and testing out of the way and spend your first sprints on the product.

03

Freelancers and consultants

Start each client project from the same documented conventions, and ship the application without a per-seat licence.

Pricing

One purchase. The foundation you keep.

Forge is a source-code foundation under a commercial license: modify it, build on it, and sell the applications you create. The Forge source itself is never resold, redistributed, or published.

  • Complete source release

    The full Forge backend source: application modules, shared concerns, infrastructure wiring, configuration, and migrations.

  • Documentation and standards

    Architecture documentation, authentication and authorization guides, database and migration notes, API conventions, and architecture decision records.

  • A tested starting point

    The automated test foundation covering the functionality implemented in this release — extend it as your product grows.

One commercial license for one product. You may modify the source and sell the applications you build on it; read the license.

Purchase summary

v1.0.0

Loading product…

FAQ

Questions developers ask.

Answers about the product, the stack, the license and what is included.

Ready to skip the groundwork

Your first commit should be a feature, not a foundation.

Get Forge today and start with auth, structure, and tests already done — so you build the part only you can build.

Oxyide Forge — Audited backend foundation