main.ts
```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
hello from index.html!
Built with Crate!
```
roadmap
- [x] make a basic server-side rendering tool and an automatic server
- [x] attach a universal backend (pallet) so you can run it anywhere
- ??? — make an issue!