func (c *AppController) Index() {
	c.Reply().Ok().JSON(models.Greet{
		Message: "Welcome to aah framework - REST API Basic Auth Example",
	})
}
Index method is application root API endpoint.
package controllers
import (
	"aahframe.work"
	"aahframework.org/examples/rest-api-basic-auth/app/models"
)
type AppController struct {
	*aah.Context
}