Fastro

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
GitHub
224
Created 5 years ago, last commit 15 days ago
4 contributors
5.31k commits
Stars added on GitHub, month by month
0
0
12
1
2
3
4
5
6
7
8
9
10
11
2023
2024
Stars added on GitHub, per day, on average
Yesterday
-3
Last week
-0.4
/day
Last month
0.0
/day
Last 12 months
+0.1
/day
README

Fastro

build bench deno doc Coverage Status

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS

With deno near native performance, you can:

  • Manage your app and routing cleanly with builder pattern
  • Leverage existing Deno objects and methods such as Request, Headers, URLPattern
  • Access the request, the context, and the next callback before execute the handler with app middleware and route middleware.
  • You can add multiple middleware at once in one route.
  • Get url param with URLPattern
  • Set the preact component props from the server side

Create your first end point

Create a main.ts file for deno-cli entry point.

import fastro from "https://fastro.deno.dev/mod.ts";

const f = new fastro();

f.get("/", () => "Hello, World!");

await f.serve();

Run the app

deno run -A main.ts

Simple Examples

To find one that fits your use case, you can explore the examples page.

SSR Example

And to create your first JSX SSR page, you can follow the start page step by step.

Contribution

Feel free to help us!

Here are some issues to improving.