Files
pr-preview/backend/node_modules/@rjweb/runtime-node
space a71f801c3f feat: initial scaffold - backend, frontend, Prisma schema, Docker
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings
- Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers
- Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page
- Docker Compose and Dockerfile for self-hosted deployment
- Uses bcryptjs for Node 24 compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-25 00:18:08 +02:00
..

@rjweb/runtime-node

RJWEB Icon

Node Runtime using http library for rjweb-server.

🏠 Homepage 🔍 Documentation

Disclaimer

This Package is intended to be used in the backend. DO NOT USE THIS PACKAGE WITH BUN.

  • ✔️ ESM
  • ✔️ CJS
  • ✔️ Typescript

Install

npm install @rjweb/runtime-node
yarn add @rjweb/runtime-node
pnpm add @rjweb/runtime-node
bun install @rjweb/runtime-node # not recommended to run the code, installing is fine

Example Usage

Basic Server

import { Server } from "rjweb-server"
import { Runtime } from "@rjweb/runtime-node"

const server = new Server(Runtime, {
  port: 8080 // https://server.rjweb.dev/types/ServerOptions
})

server.path('/', (path) => path
  .http('GET', '/', (http) => http
    .onRequest((ctr) => {
      return ctr.print('Hello World!')
    })
  )
)

server.start().then((port) => {
  console.log(`Server started on port ${port}!`)
})

view more

Author

👤 0x7d8 🌐 Website GitHub

🤝 Contributing

Contributions, issues and feature requests are welcome! Feel free to check issues page.

Show your support

Give a if this project helps you!

📝 License

Copyright © 2024 0x7d8. This project is MIT licensed.