Git Product home page Git Product logo

hyron's Introduction

Introduction (beta)

hyron is an extremely powerful framework that helps you develop an extremely fast and easy server app.

Feature

  • Create router from function : You can make a normal javascript function become a router, just with few of line
  • Easy to development : With Hyron, you can keep your code more cleaner. Easy to management. A beginner can easy to start with it
  • Plugins-able : Hyron is plugins system. So, you can install a plugins from another 3rth, management and reuse very easy
  • Support for RESTFul : You can create a RestAPI with few of word
  • High-Performance : Hyron is 40% more efficient than ExpressJS (by rps with simple request)
  • Easy to learn : With Hyron, you do not need to know how Node Server work. Just write normal Javascript function.
  • Dynamic data type : Hyron dynamic support for all data type from request

Release

  • fix bug
  • support for string path for enableServices, enablePlugins and enableAddons

Example

This is simple example project to help you have interview about Hyron Framework

index.js

const hyron = require("hyron");

var myApp = hyron.getInstance(3000, "localhost");

myApp.enableServices({
    demo: "./SimpleApp"
});

myApp.startServer();

SimpleApp.js

module.exports = class {
    static requestConfig() {
        return {
            sayHello: "get"
        };
    }

    sayHello(yourName = "you") {
        return "Hello " + yourName;
    }
};

result : A router register on :

GET http://localhost:3000/demo/sayHello?yourName=[your_name]

Reference Document

See more at : https://hyron.gitbook.io/reference

Contributing to Hyron

Bug report : https://goo.gl/forms/zhANKd3xLO0bD9Dy2

Check out contributing guide to get an overview of how to contribute to Hyron.

hyron's People

Watchers

 avatar  avatar  avatar

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.