Repository
Current version released
4 years ago
Dependencies
std
Versions
Dinosaurus
HTTP framework for Deno ported from 
Get Started
Create empty directory Enter the directory create dinosaurus.config.json
{
"webRootPath" : "./public",
"cacheRootPath" : "./.cache"
}create public directory
Now you have everything set up
Example
import { Dinosaurus } from "https://deno.land/x/dinosaurus@release/mod.ts";
const app = new Dinosaurus();
app.get("/", (_req, res) => {
res.send("hi");
});
app.get("/id/:id/", (req, res) => {
res.send(`${req.params.get("id")} ${req.query.get("name")}`);
})
app.post("/json/", async (req, res) => {
res.send(JSON.stringify(await req.originalReq.json()));
});
app.run(3000);How to run it
deno run --allow-read --allow-write --allow-net <file>Still not implemented
- Working Transpilation