Getting started
To use Sequoia you first need to install Deno locally (see guides here) or use Deno Deploy
Create a standard web server that responds with JSON on http://localhost:8000:
// basic.ts
import { Application, HTTPResponse, HTTPStatus, Router } from 'jsr:@sequoia/sequoia'
const app = new Application()
const router = new Router()
router.GET('/', (context) => {
    const body = { ok: true, user: { id: 1, name: 'John Doe' } }
    return new HTTPResponse({
        status: HTTPStatus.SUCCESS,
        type: 'application/json',
        body
    })
})
app.useRouter(router)
await app.listen({ port: 8000 })
    Run it with deno run --allow-net basic.ts