RiserBob logoRiserBobv1.0.0
HomeDocsCLIRelease notes

Getting started

  • Introduction
  • Installation
  • Quick start
  • Project structure

Core concepts

  • Routing
  • Request
  • Responses
  • Error handling

Middleware

  • Middleware
  • Authentication
  • Logger and CORS

Data

  • Validation

Structure and tooling

  • Modules
  • CLI

Examples

  • Build a project
  • Mongoose
  • Drizzle ORM
  • Sequelize
  • JWT and cookies
  • File uploads

Packages

  • Cookies

Resources

  • Troubleshooting
  • Release notes
  • License
  • Security
  • Contributing
Resources

Release notes

What is included in RiserBob 1.0.0.

1.0.0

The first stable release of the framework.

Core

  • Router with static and dynamic routes, where static routes win.
  • Methods spongGet, spongPost, spongPut, spongPatch, spongDelete and spongHead, all chainable.
  • Central error handling with HttpError, including 404, 405 with an Allow header and 500.
  • Automatic answer to OPTIONS requests with the preflight headers.
  • Request body parsing for JSON, text and form data, with a 10 MiB limit and content-type checks.
  • Response helpers for JSON, text, headers, redirects and every common status.

Middleware

  • MiddlewarePipeline with global and per-route middleware.
  • AuthMiddleware with 'cookie', 'bearer' and 'both' modes and your own verifier.
  • loggerMiddleware for request logging.
  • corsMiddleware with validated options.

Developer experience

  • Validator with a readable rule syntax.
  • The riser-bob CLI with g module <name>.
  • A project template: bun create riser-bob.
  • Unit and end-to-end tests that run with bun test.

Packages

  • @riser-bob/cookie for cookie management. See Cookies.
PreviousTroubleshootingNextLicense

On this page

  • 1.0.0
  • Core
  • Middleware
  • Developer experience
  • Packages