Keep in mind that Hydra is still under heavy development and things might drastically change!
Web framework for Deno which strives to balance performance and feature richness.
- ๐ Ease of use
- ๐ Really, really high performancce
- ๐ Built-in file-server
- ๐ Fully supported URL Pattern API
- ๐ก๏ธ Type safety
- ๐ Type-first
- ๐ฅ First framework1 to have fully type-safe URL Patterns!
- ๐ชฝ Middlewares can switch response type on the fly
- ๐๏ธ No dependencies
1 โ Hydra is the first web framework to support automatic typing of non-capturing and regex groups
These goals are pinpoints that need to be achieved before 1.0!
- โ๏ธ Strike the right balance Developer Experience and Speed
- ๐งโ๐ผ Don't compromise on DX just to make things faster
- ๐งช Have 100% test coverage, make sure things are stable
- ๐ Have great documentation
- ๐ Have all batteries included
- Create first-party middlewares to make development a walk in the park
Remember to change
VERSION
to latest version of Hydra`
import { Hydra } from "https://deno.land/x/hydra@VERSION/mod.ts";
const app = new Hydra("127.0.0.1", 8000);
app.get("/", () => {
return "Hello world!";
});
await app.serve();
Hydra is open for any contributions.
If you feel like you can enhance this project - please open an issue and/or pull request.
Code should be well document and easy to follow what's going on.
This project follows conventional commits spec.
If your pull request's code can be hard to understand, please add comments to it.
This project is available under MIT License conditions.