A microframework for building JavaScript HTTP applications. Runtime-agnostic. Strongly typed.
GPL-3.0 License
Bot releases are visible (Hide)
Published by crookse almost 5 years ago
Requires Deno v0.28.1
Published by crookse almost 5 years ago
Requires Deno v0.28.1
feat: make Drash.Http.Server.deno_server
public for testing. Example test below:
import MyResource from "./my_resource.ts";
let server = new Drash.Http.Server({
address: "localhost:1447",
response_output: "application/json",
resources: [MyResource],
});
server.run();
test( async () => {
const res = await fetch("http://localhost:1447/users/1");
assertEquals(await res.text(), "{\"id\":1,\"alias\":\"Captain America\",\"name\":\"Steve Rogers\",\"api_key\":\"**********\",\"api_secret\":\"**********\"}");
server.deno_server.close();
});
Published by crookse almost 5 years ago
Requires Deno v0.28.0
Published by crookse almost 5 years ago
Requires Deno v0.28.1
request.body()
updated to request.body.read()
Published by crookse almost 5 years ago
Requires Deno v0.27.0
Published by crookse almost 5 years ago
Requires Deno v0.27.0
Published by crookse almost 5 years ago
Requires Deno v0.27.4
Published by crookse almost 5 years ago
Requires Deno v0.27.0
Drash.Http.Server.handleHttpRequest
is async
again (removing async
broke resource methods from being able to use async-await
)Published by crookse almost 5 years ago
Requires Deno v0.27.0
Drash.Dictionaries.MimeDb
(ultimately, mime-db.json
); use deno_std/media_types
Published by crookse almost 5 years ago
Requires Deno v0.27.0
DRASH_SERVER_DIRECTORY
env var requirement when serving static paths. See https://crookse.github.io/deno-drash/#/tutorials/servers/serving-static-paths for new documentation.Published by crookse almost 5 years ago
Requires Deno v0.27.0
Published by crookse almost 5 years ago
Requires Deno v0.26.0
Published by crookse almost 5 years ago
Requires Deno v0.25.0
Published by crookse almost 5 years ago
Requires Deno v0.24.0
feat: Added middleware
Published by crookse almost 5 years ago
Requires Deno v0.24.0
Published by crookse almost 5 years ago
Published by crookse almost 5 years ago
Requirements:
Deno v0.22.0
Deno Standard Modules v0.20.0
Published by crookse almost 5 years ago
core_logger
(this was only used for early Drash development purposes)Requirements:
Deno v0.22.0
Deno Standard Modules v0.20.0
Published by crookse almost 5 years ago
Requirements:
Deno v0.22.0
Deno Standard Modules v0.20.0
Published by crookse almost 5 years ago
Requirements:
Deno v0.21.0
Deno Standard Modules v0.20.0