crate
crate is a fullstack web framework built on deno!
available on:
[deno.land/x]
[github]
main.ts
./src/index.html
available on:
[deno.land/x]
[github]
all you need to do is make two files. seriously! get started
main.ts
const App = {
native: true,
title: "crate",
width: 720,
height: 480,
directory: "./src",
routes: {
"/": "./index.html",
"/redirect": "https://crate.land"
}
}
import Crate from "https://crate.land/mod";
const crate = new Crate();
crate.serve(App);
./src/index.html
Built with Crate!