Skip to content
/ hyron Public
forked from hyron-group/hyron

Hyron is a powerful framework to help you create a server app faster and easier

License

Notifications You must be signed in to change notification settings

thangdjw/hyron

 
 

Repository files navigation

Introduction (beta)

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

npm install hyron

CircleCI Codacy Badge downloads version chat license

Features

  1. Easy to manage source code, even with large applications. Hyron helps modules to be rigorously structured. Suitable for microservice architecture application development

  2. High plug-in capability, allowing you to develop individual modules and reuse

  3. High sharing capacity. Modules are designed to minimize dependency and increase flexibility.

  4. Get help from the community. Hyron allows you to install and share, customize modules easily

  5. Help your source code independent of the platform. It makes it easy to switch between platforms, ensuring that the source code is always intuitive

  6. Easy to learn and use. One of Hyron's top goals is to help the platform be accessible by a beginner

  7. High performance. Hyron has 40% higher initial performance than Express

  8. Automation, Hyron helps automate your application development process, and makes it easier for third party addons and plugins

    See more build-in feature

Release

  • more power for appcfg.yaml
  • more power for addons
  • build app from json
  • supported for rest api
  • supported for https and http2
  • supported path in getConfig
  • restructure + refactor
  • fix bug

Example

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

index.js

const hyron = require("hyron");
hyron.build("./server.json");

server.json

{
    "base_url": "http://localhost:3000",
    "services": {
        "demo": "./SimpleApp.js"
    }
}

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

For more detail, please read at : https://hyron.gitbook.io/reference

Contributing to Hyron

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

We will be happy to receive your small investment to help your business and product development take place more quickly and smoothly.

About

Hyron is a powerful framework to help you create a server app faster and easier

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Java 0.5%