GithubHelp home page GithubHelp logo

im-beast / hydra Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 49 KB

Web framework for Deno which is both fast and fun to use

License: MIT License

TypeScript 99.70% HTML 0.27% JavaScript 0.03%
deno deno-deploy fast http web-framework

hydra's Introduction

๐ŸŒ Hydra

Keep in mind that Hydra is still under heavy development and things might drastically change!

Hydra logo, three headed Deno mascot

Web framework for Deno which strives to balance performance and feature richness.

๐Ÿ”ฉ Features

  • ๐Ÿ’– 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

๐Ÿฅ… Goals

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

Get started

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();

๐Ÿค Contributing

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.

๐Ÿ“ Licensing

This project is available under MIT License conditions.

hydra's People

Contributors

im-beast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hydra's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.