🖥️Hello World

Let's send a "Hello World!" TEXT using LightRoute!

const lightroute = require("lightroute")
const app = new lightroute()

let port = 80

app.get("/", (req,res) => {
    res.text("Hello World!")
})

app.listen(port,function(){
    console.log("Listening "+ port)
})

Last updated

Was this helpful?