Skip to content

nevergarden/xing

Repository files navigation

Xing

A web framework for Hashlink.

package;

import xing.Xing;

class Main {
	public static function main() {
		var x = new Xing();
		x.registerRoute("/", function(req, res) {
			res.setBody("Hello World");
			res.send();
		});
		x.listen("0.0.0.0", [8000]);
	}
}

Installation

This Haxe library depends on Hashlink PicoHTTP module, so please install that before installing this.

To install Xing use: haxelib git xing https://github.com/nevergarden/xing.

Features

  • Routing
  • Template Engine

WIP

This is a work in progress but routing and template engine works for now.

About

Hashlink Web Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages