Hyron is an extremely powerful framework that helps you develop an extremely fast and easy server app.
npm install hyron
-
Easy to manage source code, even with large applications. Hyron helps modules to be rigorously structured. Suitable for microservice architecture application development
-
High plug-in capability, allowing you to develop individual modules and reuse
-
High sharing capacity. Modules are designed to minimize dependency and increase flexibility.
-
Get help from the community. Hyron allows you to install and share, customize modules easily
-
Help your source code independent of the platform. It makes it easy to switch between platforms, ensuring that the source code is always intuitive
-
Easy to learn and use. One of Hyron's top goals is to help the platform be accessible by a beginner
-
High performance. Hyron has 40% higher initial performance than Express
-
Automation, Hyron helps automate your application development process, and makes it easier for third party addons and plugins
- 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
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]
For more detail, please read at : https://hyron.gitbook.io/reference
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.