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]
get started
all you need to do is make two files. seriously!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
<html>
<main>
hello from index.html!
<br/>
<Link to="https://crate.land/deno">
Built with Crate!
</Link>
</main>
</html>
roadmap
- make a basic server-side rendering tool and an automatic server
- attach a universal backend (pallet) so you can run it anywhere
- ??? — make an issue!
built with ♡ and deno by jordan reger.