Getting Started
Quick Start
Short of time? let's get you started quickly
Basics
All you need to get started using Raptor is instantiate the Kernel and implement at least one middleware, as follows:
import { Kernel } from "@raptor/kernel";
new Kernel()
.use(() => 'Hello, Dr Malcolm!')
.serve();You can run this code with the CLI:
deno run --allow-net main.tsbun run main.tsnode main.tsNext Steps
If you want to learn more about Raptor, check out Middleware as a good starting point.