Skip to Content
Drash v3 is in beta. APIs may change.
DocsQuickstartOverview

Quickstart

Drash ships no server. You build an application — a chain of handlers under the hood — and pass a request into it from whatever server your runtime already gives you (Deno.serve(), Bun.serve(), etc.) — so the setup differs only in how your runtime hands you that request.

Pick your runtime below, or walk through the build one step at a time.

First Drash Application? Start Here.

Learn it step by step:

Or hand this to your coding agent:

Read https://drash.crookse.com/agents.md and set up a Drash project.

Your coding agent should ask you if you want to set up a Drash project for Node, Deno, Bun, or Cloudflare.

Choose a Quickstart Guide

View the quickstart that applies to you.

Each page has a complete, runnable application and notes specific to that runtime.

RuntimeURLPatternRequest shapeEntry point
DenoGlobal — used directlyWeb Request / Responsehttp.native.js
NodeVaries by version — polyfilledContext object you buildhttp.polyfill.js
BunNot dependable — polyfilledWeb Request / Responsehttp.polyfill.js
Cloudflare WorkersGlobal — used directlyWeb Request / Responsehttp.native.js

The two entry points differ only in which URLPattern implementation they use — see Concepts > Native vs. Polyfill to learn more.

Before You Get Started

Read the Prerequisites first if:

  • You do not have a runtime installed yet
  • You have never stood up an HTTP server in it
Last updated on