Overview

Aurora is a simple web framework for the Lune Runtime inspired by Express.

Aurora

Aurora is a simple web framework for the Lune Runtime inspired by Express.

Example

Install Aurora using Farmer

farmer init aurora-example
cd aurora-example
farmer add aurora
local aurora = require("@aurora/")

-- GET request to /
aurora.get("/", function(req, res)
    res.send("Hello World")
end)

aurora.serve() -- runs the server on port 8080

Getting Started

At the moment, html special characters are not escaped automatically. This may be changed in the future.

use aurora.escapeHtml to escape html special characters.